File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,24 @@ The Binutils sources are built in this repository without any changes.
1515After the build is done, we create a tarball with the binaries for
1616Linux, macOS and Windows. The tarball is then used by Xamarin.Android
1717to package the utilities for Xamarin.Android distribution.
18+
19+ # How to build and publish new version of GNU Binutils
20+
21+ 1 . Edit ` .github/workflows/ci.yml `
22+ 2 . Set the ` BINUTILS_VERSION ` variable to the new version number of
23+ the upstream package.
24+ 3 . Commit and push the changes
25+ 4 . After the build finishes, visit the Actions tab, find the run
26+ corresponding to commit from ` 3. ` above, download the
27+ ` Xamarin.Android ` artifact
28+ 5 . On your local machine, execute the release preparation script:
29+ ``` shell
30+ ./prepare-release.sh PATH_TO_ARTIFACT_FROM_4 TAG_NAME
31+ ```
32+ ` TAG_NAME` should be created by concatenating the Binutils version
33+ with the ` -XA.NUM` string, where ` NUM` is an integer increasing
34+ monotonously each time a new release of the same Binutils version
35+ is made.
36+ 6. The script will produce a ` 7-zip` package on your local disk and
37+ display instructions how to proceed with the release.
38+
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ function prepare()
6060 cat << EOF
6161Next steps:
6262
63- * Go to https://github.com/grendello /xamarin-android-binutils/releases
63+ * Go to https://github.com/xamarin /xamarin-android-binutils/releases
6464 * Create new release using the ${TAG_NAME} tag
6565 * Upload ${dest_archive} to that release
6666EOF
You can’t perform that action at this time.
0 commit comments