Skip to content

Commit 8d427f7

Browse files
authored
Updating release flow (#103)
* Updating release flow * Increase version
1 parent d0d7a94 commit 8d427f7

File tree

7 files changed

+99
-412
lines changed

7 files changed

+99
-412
lines changed

CHANGELOG.md

Lines changed: 0 additions & 318 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,10 @@ If the UITest scanner cannot find the desired scheme, follow these steps:
163163

164164
### Create a new release
165165

166-
1. bump the version in `version/version.go`
167-
1. run `releaseman create-changelog --version THE.NEW.VERSION` (with the right
168-
version number of course)
169-
1. commit the CHANGELOG
170-
1. run `gows bitrise run create-release`
171-
1. commit the changes
172-
1. tag the release: `git tag THE.NEW.VERSION`
173-
1. push the changes: `git push && git push origin tags/THE.NEW.VERSION`
174-
1. create the release on GitHub, and upload the new version's binary
166+
1. Merge all changes to master.
167+
1. Increase the version in `version/version.go`.
168+
1. Merge the version change to master.
169+
1. Push version tag to master.
170+
1. Download from GitHub and test the new release.
171+
1. Run `bitrise run update-wrapper-versions`.
172+
1. Merge the updated wrapper versions.

_scripts/install_wrap.sh.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ echo " => Creating a temporary directory for codesigndoc ..."
55
temp_dir="$(mktemp -d -t codesigndocXXXXXX)"
66
codesigndoc_bin_path="${temp_dir}/codesigndoc"
77

8-
version_to_use="{{version}}"
8+
version_to_use="{{.Version}}"
99
if [ "$1" != "" ] ; then
1010
version_to_use="$1"
1111
fi
@@ -14,7 +14,7 @@ if [ ! -z "${CODESIGNDOC_VERSION}" ] ; then
1414
fi
1515
echo " => Downloading version: ${version_to_use}"
1616

17-
scan_command_to_use="{{scan_cmd}}"
17+
scan_command_to_use="{{.ScanCmd}}"
1818

1919
codesigndoc_download_url="https://github.com/bitrise-io/codesigndoc/releases/download/${version_to_use}/codesigndoc-Darwin-x86_64"
2020
echo " => Downloading codesigndoc from (${codesigndoc_download_url}) to (${codesigndoc_bin_path}) ..."

0 commit comments

Comments
 (0)