Skip to content

Commit

Permalink
Updating release flow (#103)
Browse files Browse the repository at this point in the history
* Updating release flow

* Increase version
  • Loading branch information
lpusok authored Jun 3, 2019
1 parent d0d7a94 commit 8d427f7
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 412 deletions.
318 changes: 0 additions & 318 deletions CHANGELOG.md

This file was deleted.

16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,10 @@ If the UITest scanner cannot find the desired scheme, follow these steps:

### Create a new release

1. bump the version in `version/version.go`
1. run `releaseman create-changelog --version THE.NEW.VERSION` (with the right
version number of course)
1. commit the CHANGELOG
1. run `gows bitrise run create-release`
1. commit the changes
1. tag the release: `git tag THE.NEW.VERSION`
1. push the changes: `git push && git push origin tags/THE.NEW.VERSION`
1. create the release on GitHub, and upload the new version's binary
1. Merge all changes to master.
1. Increase the version in `version/version.go`.
1. Merge the version change to master.
1. Push version tag to master.
1. Download from GitHub and test the new release.
1. Run `bitrise run update-wrapper-versions`.
1. Merge the updated wrapper versions.
4 changes: 2 additions & 2 deletions _scripts/install_wrap.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ echo " => Creating a temporary directory for codesigndoc ..."
temp_dir="$(mktemp -d -t codesigndocXXXXXX)"
codesigndoc_bin_path="${temp_dir}/codesigndoc"

version_to_use="{{version}}"
version_to_use="{{.Version}}"
if [ "$1" != "" ] ; then
version_to_use="$1"
fi
Expand All @@ -14,7 +14,7 @@ if [ ! -z "${CODESIGNDOC_VERSION}" ] ; then
fi
echo " => Downloading version: ${version_to_use}"

scan_command_to_use="{{scan_cmd}}"
scan_command_to_use="{{.ScanCmd}}"

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

0 comments on commit 8d427f7

Please sign in to comment.