diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 18a923ee..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,318 +0,0 @@ - -### 2.2.1 - 2.2.0 (2019 Mar 22) - -* [390be6d] Akos Birmacher - changelog (2019 Mar 22) -* [826217b] Akos Birmacher - Glob path fix (#100) (2019 Mar 22) -* [ac74021] Akos Birmacher - add uitest script to readme and restructure it a bit (#99) (2019 Mar 18) -* [1988469] Akos Birmacher - feat: add install_wap-xcode-uitests script (#98) (2019 Feb 26) - - -### 2.2.1 - 2.2.0 (2019 Mar 22) - -* [826217b] Akos Birmacher - Glob path fix (#100) (2019 Mar 22) -* [ac74021] Akos Birmacher - add uitest script to readme and restructure it a bit (#99) (2019 Mar 18) -* [1988469] Akos Birmacher - feat: add install_wap-xcode-uitests script (#98) (2019 Feb 26) - - -### 2.2.0 - 2.1.3 (2019 Feb 15) - -* [8a87f00] Akos Birmacher - prepare for 2.2.0 (2019 Feb 15) -* [af2c740] Akos Birmacher - Project scan xcode project for xcodeuitests (#97) (2019 Feb 15) -* [7c4a594] Akos Birmacher - xcode & xamarin: Auto scan directory for project files (#95) (2019 Feb 13) -* [b2286a9] Akos Birmacher - Add UI Target support (#94) (2019 Feb 08) -* [e4bebc5] Akos Birmacher - update osxkeychain to work with go 1.11 version. (#93) (2019 Jan 15) - - -### 2.2.0 - 2.1.3 (2019 Feb 15) - -* [af2c740] Akos Birmacher - Project scan xcode project for xcodeuitests (#97) (2019 Feb 15) -* [7c4a594] Akos Birmacher - xcode & xamarin: Auto scan directory for project files (#95) (2019 Feb 13) -* [b2286a9] Akos Birmacher - Add UI Target support (#94) (2019 Feb 08) -* [e4bebc5] Akos Birmacher - update osxkeychain to work with go 1.11 version. (#93) (2019 Jan 15) - - -### 2.1.3 - 2.1.2 (2018 Aug 02) - -* [f55db28] Akos Birmacher - Prepare for 2.1.3 (2018 Aug 02) -* [c22f9af] BirmacherAkos - profile upload name fix (#88) (2018 Aug 02) - - -### 2.1.3 - 2.1.2 (2018 Aug 02) - -* [c22f9af] BirmacherAkos - profile upload name fix (#88) (2018 Aug 02) - - -### 2.1.2 - 2.1.1 (2018 Jul 20) - -* [f4c088c] Akos Birmacher - Prepare for 2.1.2 (2018 Jul 20) -* [38a2f92] BirmacherAkos - - The codesigndoc will not ask about the Provisioning Profiles in --certs-only mode. (#87) (2018 Jul 20) - - -### 2.1.2 - 2.1.1 (2018 Jul 20) - -* [38a2f92] BirmacherAkos - - The codesigndoc will not ask about the Provisioning Profiles in --certs-only mode. (#87) (2018 Jul 20) - - -### 2.1.1 - 2.1.0 (2018 Jul 13) - -* [8f63e20] Krisztián Gödrei - dep update (#86) (2018 Jul 13) -* [0a6d27a] BirmacherAkos - labl error log fix (#85) (2018 Jul 06) -* [33db810] BirmacherAkos - isMac fix for iOS (#84) (2018 Jul 04) -* [4fad9fd] BirmacherAkos - Mac os fix (#83) (2018 Jul 03) -* [94eac53] BirmacherAkos - Check that team has certificates (#81) (2018 Jun 11) -* [1d09a69] BirmacherAkos - bitrise.yml update (#82) (2018 Jun 04) -* [fbd2787] BirmacherAkos - Error log updated for: (#80) (2018 Jun 04) -* [052a329] Krisztián Gödrei - refactor (#79) (2018 May 24) - - -### 2.1.0 - 2.0.3 (2018 Apr 10) - -* [064fe57] Krisztián Gödrei - prepare for 2.1.0 (2018 Apr 10) -* [b4ec4fc] BirmacherAkos - Uploading UI cleaning. (#72) (2018 Apr 10) -* [7045fd3] BirmacherAkos - Upload generated provisioning profiles to Bitrise (#70) (2018 Apr 06) -* [ce66a50] BirmacherAkos - XCode: trim the project path. (#69) (2018 Mar 20) -* [39d2bfb] Krisztián Gödrei - cgo fixes for go1.10 (2018 Mar 08) - - -### 2.0.3 - 2.0.2 (2018 Jan 09) - -* [0280c18] Krisztián Gödrei - error fixes (#64) (2018 Jan 09) -* [9a4daa1] Krisztián Gödrei - fixed xamarin build command (#63) (2018 Jan 08) -* [beab2ad] Geoff Pado - Fix typo "intsalled" -> "installed". (#61) (2018 Jan 04) - - -### 2.0.2 - 2.0.1 (2017 Nov 30) - -* [694f511] Krisztián Gödrei - prepare for 2.0.2 (2017 Nov 30) -* [66f2406] Krisztián Gödrei - filterLatestProfiles (#59) (2017 Nov 30) - - -### 2.0.1 - 2.0.0 (2017 Nov 29) - -* [68fda87] Krisztián Gödrei - prepare for 2.0.1 (2017 Nov 29) -* [ac44040] Krisztián Gödrei - parse every command / child command flag before executing the target command (#58) (2017 Nov 29) - - -### 2.0.0 - 1.4.0 (2017 Nov 29) - -* [57607da] Krisztián Gödrei - prepare for 2.0.0 (2017 Nov 29) -* [f189a38] Krisztián Gödrei - finish message update (#57) (2017 Nov 29) -* [ce23d30] Krisztián Gödrei - Xcode9 (#54) (2017 Nov 29) - - -### 1.4.0 - 1.3.0 (2017 Aug 09) - -* [13ec6a8] Viktor Benei - Feature/fix find prov profile by uuid (#51) (2017 Aug 09) - - -### 1.3.0 - 1.2.0 (2017 Jul 27) - -* [b414984] Krisztián Gödrei - use msbuild for xamarin build commands (#49) (2017 Jul 27) - - -### 1.2.0 - 1.1.0 (2017 Jun 22) - -* [e739d2d] Viktor Benei - deps update (#47) (2017 Jun 22) -* [93d285e] Viktor Benei - added expired prov profile path + log pimping ;) (#46) (2017 Jun 22) -* [b5869e4] Brian Hardy - Adds check and logging for expired provisioning profiles. (#45) (2017 Jun 22) - - -### 1.1.0 - 1.0.0 (2017 Jun 01) - -* [4136265] Viktor Benei - new xcode command flag: `xcodebuild-sdk` (#42) (2017 Jun 01) - - -### 1.0.0 - 0.9.18 (2017 Mar 30) - -* [00ca5c1] Viktor Benei - Feature/dep update (#39) (2017 Mar 30) -* [47788eb] Viktor Benei - v1.0.0 (2017 Mar 30) -* [6f342dd] Jacek Lampart - Fixed typo (#38) (2017 Mar 30) -* [b0d8187] Viktor Benei - regenerated install wrap scripts (2017 Jan 27) -* [4b0c707] ka - Add 3 Xs (XXX) to the mktemp command argument (#35) (2017 Jan 27) - - -### 0.9.18 - 0.9.17 (2017 Jan 06) - -* [b7b4465] Viktor Benei - VERSION = "0.9.18" (2017 Jan 06) -* [e372c74] Viktor Benei - Include and print the xcodebuild output if scheme scan fails (#34) (2017 Jan 06) -* [f83feb3] Viktor Benei - Feature/deps update (#33) (2017 Jan 06) -* [340e8c9] Viktor Benei - Print Xcode's version number for debug (#32) (2017 Jan 05) -* [83766a0] Viktor Benei - readme (2016 Dec 06) - - -### 0.9.17 - 0.9.16 (2016 Dec 06) - -* [98627f6] Viktor Benei - v0.9.17 (2016 Dec 06) -* [f555092] Viktor Benei - TeamID handling revision (#29) (2016 Dec 06) -* [a77ff62] Viktor Benei - Create ISSUE_TEMPLATE.md (2016 Nov 30) -* [7eb9978] Viktor Benei - README formatting fix (2016 Nov 24) -* [52b797f] Viktor Benei - manual section, for info (2016 Nov 24) - - -### 0.9.16 - 0.9.15 (2016 Nov 22) - -* [1623a3b] Viktor Benei - install wrap version update (2016 Nov 22) -* [b07c4a0] Viktor Benei - codesigndoc version --full (2016 Nov 22) -* [ba8e898] Viktor Benei - changelog (2016 Nov 22) -* [919cd19] Viktor Benei - v0.9.16 (2016 Nov 22) -* [2073453] Viktor Benei - ignore / don't try to export the dash (-) identity (#26) (2016 Nov 22) -* [474043d] Viktor Benei - debug print all found prov profile content (2016 Oct 12) -* [7cd1f4d] Viktor Benei - minor logging rev/enhancement (2016 Oct 10) -* [efadebf] Viktor Benei - install wraps (2016 Oct 10) - -### 0.9.15 - 0.9.14 (2016 Oct 10) - -* [c5dda81] Viktor Benei - Merge branch 'master' of github.com:bitrise-tools/codesigndoc (2016 Oct 10) -* [99130f1] Viktor Benei - v0.9.15 (2016 Oct 10) -* [7824e45] Viktor Benei - AppBundleIDs - renamed to AppIDs (#22) (2016 Oct 10) -* [69c9446] Viktor Benei - install wrap scripts for v0.9.14 (2016 Oct 04) - -### 0.9.14 - 0.9.13 (2016 Oct 04) - -* [ec0a70a] Viktor Benei - Merge branch 'master' of github.com:bitrise-tools/codesigndoc (2016 Oct 04) -* [9c5c8df] Viktor Benei - v0.9.14 (2016 Oct 04) -* [628b9ce] Viktor Benei - xamarin long log line revision (#20) (2016 Oct 04) -* [b9f941a] Viktor Benei - install wrap for v0.9.13 (2016 Oct 04) - -### 0.9.13 - 0.9.12 (2016 Oct 04) - -* [aa97b88] Viktor Benei - Merge branch 'master' of github.com:bitrise-tools/codesigndoc (2016 Oct 04) -* [2c752c1] Viktor Benei - v0.9.13 (2016 Oct 04) -* [55ae197] Viktor Benei - allow xcodebuild log as input + fixed really-really-long log line handling (#19) (2016 Oct 04) -* [42cd2dc] Viktor Benei - install wrap improvements (2016 Sep 28) -* [7d2334e] Viktor Benei - version print fix in install wraps (2016 Sep 28) -* [fa9fd04] Viktor Benei - README for both Xcode and Xamarin (2016 Sep 28) -* [edf3724] Viktor Benei - install wrap for 0.9.12 (2016 Sep 28) - -### 0.9.12 - 0.9.11 (2016 Sep 28) - -* [ebf922e] Viktor Benei - Feature/xamarin input imrovements (#18) (2016 Sep 28) -* [90f06be] Viktor Benei - v0.9.12 (2016 Sep 27) -* [8a7c937] Viktor Benei - create releaes workflow fix (new version syntax) (2016 Sep 27) -* [d944e24] Viktor Benei - xamarin support (#17) (2016 Sep 27) -* [a26701c] Viktor Benei - and the related godeps update (2016 Sep 22) -* [78a7ab6] Viktor Benei - codegangsta -> urfave (2016 Sep 22) -* [72aae38] Viktor Benei - install wrap for 0.9.11 (2016 Sep 22) - -### 0.9.11 - 0.9.10 (2016 Sep 22) - -* [98972dd] Viktor Benei - v0.9.11 (2016 Sep 22) -* [79ac354] Viktor Benei - .p12 password / passphrase option (#16) (2016 Sep 22) -* [5705ea7] Viktor Benei - better provisioning profile export (#15) (2016 Sep 22) -* [0c75087] Viktor Benei - gitignore .DS_Store (2016 Sep 21) -* [16c376a] Viktor Benei - install wrap (2016 Sep 21) - -### 0.9.10 - 0.9.9 (2016 Sep 21) - -* [8dfabfd] Viktor Benei - v0.9.10 (2016 Sep 21) -* [c1c3761] Viktor Benei - error report log minor enhancement (2016 Sep 21) -* [9106870] Viktor Benei - 0.9.9 in install wrap (2016 Sep 21) - -### 0.9.9 - 0.9.9-beta1 (2016 Sep 21) - -* [afa0798] Viktor Benei - base "please create an issue" (#13) (2016 Sep 21) -* [44e591f] Viktor Benei - use better export file names for prov profiles (#12) (2016 Sep 20) -* [9d86db7] Viktor Benei - v0.9.9 (2016 Sep 20) -* [dcab03b] Viktor Benei - minimal, unused code cleanup (#11) (2016 Sep 20) -* [ee479fd] Viktor Benei - Feature/export all identities (#10) (2016 Sep 20) -* [c05b398] Viktor Benei - base scan done (#9) (2016 Sep 20) -* [1020fb4] Viktor Benei - godeps update (#8) (2016 Sep 20) -* [89d8d7c] Viktor Benei - do not force a distribution identity (2016 Sep 20) -* [492005d] Viktor Benei - .gows.user.yml added to gitignore (2016 Sep 20) -* [bb8e213] Chris Poole - fixed spelling mistake (#7) (2016 Sep 15) -* [fadf0ca] Viktor Benei - install wrap : version can be specified with env var (2016 Jun 23) -* [1171434] Viktor Benei - FIX: install wrap: getting & printing codesigndoc version (2016 Jun 23) - -### 0.9.9-beta1 - 0.9.8 (2016 Jun 23) - -* [c29d043] Viktor Benei - beta release: v0.9.9-beta1 (2016 Jun 23) -* [70ee835] Viktor Benei - CodeSignIdentity param for Xcode command model (2016 Jun 23) -* [3a4a37d] Viktor Benei - install wrap : allow the version to be specified as a param (2016 Jun 23) -* [5cca15a] Viktor Benei - gows.yml (2016 Jun 23) -* [7dde726] Viktor Benei - better log / formatting of install_wrap script (2016 Apr 25) -* [634f1b3] Viktor Benei - one more parse test & install wrap script prints tool version (2016 Apr 25) - -### 0.9.8 - 0.9.7 (2016 Apr 25) - -* [6122190] Viktor Benei - v0.9.8 changelog (2016 Apr 25) -* [04ef48b] Viktor Benei - install wrap script fix (2016 Apr 25) -* [0cdf10e] Viktor Benei - v0.9.8, with updated install wrap script (2016 Apr 25) -* [1fa67db] Viktor Benei - save xcodebuild output into a debug log file (2016 Apr 25) -* [3e820d8] Viktor Benei - better install_wrap.sh script (template) (2016 Apr 25) -* [1001373] Viktor Benei - always print the xcodebuild command (2016 Apr 25) -* [4272309] Viktor Benei - generic update for bitrise.yml and .gitignore (2016 Apr 25) -* [5f94fe1] Viktor Benei - godeps update - switched to Go 1.6 vendor (2016 Apr 25) -* [97610ec] Viktor Benei - TODO (2016 Mar 09) - -### 0.9.7 - 0.9.6 (2016 Feb 15) - -* [084f48e] Viktor Benei - v0.9.7 (2016 Feb 15) -* [3a88fe0] Viktor Benei - releaseman config (2016 Feb 15) -* [449486c] Viktor Benei - Godeps update (2016 Feb 15) -* [d498d42] Viktor Benei - use the new AskForPath goinp function for getting the project/workspace path, instead of the generic "string" version (2016 Feb 15) -* [35e6040] Viktor Benei - changelog (2016 Jan 27) -* [071e671] Viktor Benei - changelog (2016 Jan 27) -* [edb0e22] Viktor Benei - log separator style fix (2016 Jan 27) -* [53a0a1a] Viktor Benei - FIX : typo (2016 Jan 27) -* [24e5b6a] Viktor Benei - install wrap : switch the order of set -e and set -x (2016 Jan 27) -* [a40e77d] Viktor Benei - install wrap fix (2016 Jan 27) -* [7e6449e] Viktor Benei - install wrap for 0.9.6 (2016 Jan 26) - -### 0.9.6 - 0.9.5 (2016 Jan 26) - -* [0c11aea] Viktor Benei - removed "create-test-binaries" workflow (2016 Jan 26) -* [6de6aba] Viktor Benei - readme empty line (2016 Jan 26) -* [d5549fd] Viktor Benei - v0.9.6 (2016 Jan 26) -* [a13d2c1] Viktor Benei - additional highligts in log (2016 Jan 26) -* [366f110] Viktor Benei - better highlight for more important Warning lines (2016 Jan 26) - -### 0.9.5 - 0.9.4 (2016 Jan 26) - -* [fb465e8] Viktor Benei - bitrise.yml : create-release-with-docker-compose removed (not used) + install_wrap (2016 Jan 26) -* [0c57fa9] Viktor Benei - v0.9.5 (2016 Jan 26) -* [f096a51] Viktor Benei - certificate revoke check failed - added to TODO for now & removed the related dependencies (2016 Jan 26) -* [7750a72] Viktor Benei - Godeps update (2016 Jan 26) -* [52de5ba] Viktor Benei - don't fail if more than one identity found for a search, just print warning ; certificate verification moved into a new package (2016 Jan 26) -* [41854fd] Viktor Benei - Merge pull request #3 from godrei/fixes (2016 Jan 26) -* [ff432a5] Krisztián Gödrei - typo fix, more log (2016 Jan 26) -* [8022a79] Viktor Benei - changelog : empty fix (2016 Jan 26) -* [6505697] Viktor Benei - check expiration of certificates before exporting - don't export expired identities (2016 Jan 26) -* [f868694] Viktor Benei - Merge pull request #2 from godrei/c_string_cast (2016 Jan 26) -* [670fc5f] Krisztián Gödrei - C.CFStringGetCString instead of C.CFStringGetCStringPtr (2016 Jan 26) -* [4119720] Viktor Benei - changelog (2016 Jan 26) -* [f68a831] Viktor Benei - Identities enumeration fix (2016 Jan 26) -* [a399043] Viktor Benei - typo fixes (2016 Jan 25) -* [7a50cec] Viktor Benei - README : ordered list (2016 Jan 25) -* [43e5a06] Viktor Benei - bit more specific text in README (2016 Jan 25) -* [7a7de9e] Viktor Benei - README : what this tool does (2016 Jan 25) -* [50b7c0a] Viktor Benei - readme - summary of the tool (2016 Jan 25) -* [b7ac541] Viktor Benei - install wrap 0.9.4 (2016 Jan 25) - -### 0.9.4 - 0.9.3 (2016 Jan 25) - -* [59bd234] Viktor Benei - progress indicator: print a `.` every second, to indicate the Archive is still running (2016 Jan 25) -* [1e541f5] Viktor Benei - install wrap 0.9.3 (2016 Jan 25) - -### 0.9.3 - 0.9.2 (2016 Jan 25) - -* [5744012] Viktor Benei - FIX: log: newline fix (2016 Jan 25) -* [d86d4d1] Viktor Benei - readme : installer (2016 Jan 25) -* [76ac080] Viktor Benei - install wrap : silent flag (2016 Jan 25) -* [2f42229] Viktor Benei - 0.9.2 install wrap (2016 Jan 25) - -### 0.9.2 - 0.9.1 (2016 Jan 25) - -* [b9c4521] Viktor Benei - install_wrap gen fix (2016 Jan 25) -* [10d3542] Viktor Benei - 0.9.2 : allow-export flag & fixed the exported .p12 format, to match the one generated by Keychain Access.app (2016 Jan 25) -* [9c0ccf5] Viktor Benei - install wrap removed from todo (2016 Jan 23) -* [9ede876] Viktor Benei - install wrap (2016 Jan 23) - - - - - - - - - - diff --git a/README.md b/README.md index fd00b27b..0cf2a335 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/_scripts/install_wrap.sh.template b/_scripts/install_wrap.sh.template index 20d135e4..8561b90e 100644 --- a/_scripts/install_wrap.sh.template +++ b/_scripts/install_wrap.sh.template @@ -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 @@ -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}) ..." diff --git a/_scripts/update_wrapper_versions.go b/_scripts/update_wrapper_versions.go new file mode 100644 index 00000000..7c66de97 --- /dev/null +++ b/_scripts/update_wrapper_versions.go @@ -0,0 +1,77 @@ +package main + +import ( + "fmt" + "os" + "text/template" + + "github.com/bitrise-io/codesigndoc/version" + "github.com/bitrise-io/go-utils/log" +) + +// VersionInfo ... +type VersionInfo struct { + ScanCmd string + Version string +} + +func substituteVersionInfo(tmpl *template.Template, data VersionInfo, targetPth string) error { + out, err := os.Create(targetPth) + if err != nil { + return fmt.Errorf("failed to open file for write, error: %s", err) + } + if err = tmpl.Execute(out, data); err != nil { + return fmt.Errorf("%s", err) + } + if err := out.Close(); err != nil { + return err + } + return nil +} + +func main() { + log.Infof("Only update wrapper versions when release is availabe.") + + tmpl := template.Must(template.ParseFiles("install_wrap.sh.template")) + + if err := substituteVersionInfo(tmpl, + VersionInfo{ + ScanCmd: "xcode", + Version: version.VERSION, + }, + "install_wrap-xcode.sh", + ); err != nil { + panic(fmt.Sprintf("%s", err)) + } + + // for compatibility + if err := substituteVersionInfo(tmpl, + VersionInfo{ + ScanCmd: "xcode", + Version: version.VERSION, + }, + "install_wrap.sh", + ); err != nil { + panic(fmt.Sprintf("%s", err)) + } + + if err := substituteVersionInfo(tmpl, + VersionInfo{ + ScanCmd: "xcodeuitests", + Version: version.VERSION, + }, + "install_wrap-xcode-uitests.sh", + ); err != nil { + panic(fmt.Sprintf("%s", err)) + } + + if err := substituteVersionInfo(tmpl, + VersionInfo{ + ScanCmd: "xamarin", + Version: version.VERSION, + }, + "install_wrap-xamarin.sh", + ); err != nil { + panic(fmt.Sprintf("%s", err)) + } +} diff --git a/bitrise.yml b/bitrise.yml index 3e7d4ad6..19a3225a 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -1,11 +1,6 @@ -format_version: 5 +format_version: 7 default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git -app: - envs: - - BITRISE_BIN_NAME: codesigndoc - - GITHUB_RELEASES_URL: https://github.com/bitrise-io/${BITRISE_BIN_NAME}/releases - workflows: test: steps: @@ -14,6 +9,16 @@ workflows: - errcheck: - go-test: + update-wrapper-versions: + steps: + - script: + title: Creating release install_wrap + inputs: + - content: |- + cd ./_scripts + go run update_wrapper_versions.go + cd - + dep-update: title: Dep update description: | @@ -27,74 +32,4 @@ workflows: set -ex go get -u -v github.com/golang/dep/cmd/dep dep ensure -v - dep ensure -v -update - - - create-release: - before_run: - - test - steps: - - script: - title: Creating deploy - inputs: - - content: |- - #!/bin/bash - set -ex - if [ -f _bin/tmpbin ] ; then - rm _bin/tmpbin - fi - go build -o _bin/tmpbin - binversion="$(_bin/tmpbin version)" - echo "binversion: ${binversion}" - mkdir -p _bin/${binversion} - finalpth=_bin/${binversion}/${BITRISE_BIN_NAME}-$(uname -s)-$(uname -m) - echo "finalpth: ${finalpth}" - mv _bin/tmpbin "${finalpth}" - # register the version for next steps - envman add --key RELEASE_VERSION --value "${binversion}" - # generate changelog - releaseman create-changelog --version "${binversion}" - - script: - title: Creating release install_wrap - inputs: - - content: |- - template_path = "./_scripts/install_wrap.sh.template" - puts " * template_path: #{template_path}" - template_content = File.read(template_path) - # -- xcode -- - target_path = "./_scripts/install_wrap-xcode.sh" - puts " * target_path: #{target_path}" - final_content = template_content.gsub("{{version}}", ENV['RELEASE_VERSION']) - final_content = final_content.gsub("{{scan_cmd}}", 'xcode') - File.open(target_path, "w") do |f| - f.write(final_content) - end - # for compatibility - File.open("./_scripts/install_wrap.sh", "w") do |f| - f.write(final_content) - end - # -- xamarin -- - target_path = "./_scripts/install_wrap-xamarin.sh" - puts " * target_path: #{target_path}" - final_content = template_content.gsub("{{version}}", ENV['RELEASE_VERSION']) - final_content = final_content.gsub("{{scan_cmd}}", 'xamarin') - File.open(target_path, "w") do |f| - f.write(final_content) - end - - runner_bin: ruby - # - script: - # title: Creating release changelog template - # inputs: - # - content: |- - # changelog_path = "./_changelogs/#{ENV['RELEASE_VERSION']}.md" - # puts " * changelog_path: #{changelog_path}" - # template_content = File.read("./_changelogs/template.md") - # changelog_content = template_content.gsub("{{version}}", ENV['RELEASE_VERSION']) - # File.open(changelog_path, "w") do |f| - # f.write(changelog_content) - # end - # - runner_bin: ruby - # - script: - # title: Open _bin folder - # inputs: - # - content: open _bin + dep ensure -v -update \ No newline at end of file diff --git a/release_config.yml b/release_config.yml deleted file mode 100644 index 00b7200d..00000000 --- a/release_config.yml +++ /dev/null @@ -1,5 +0,0 @@ -release: - development_branch: master - release_branch: master -changelog: - path: ./CHANGELOG.md diff --git a/version/version.go b/version/version.go index c243db15..ca3013bc 100644 --- a/version/version.go +++ b/version/version.go @@ -1,4 +1,4 @@ package version // VERSION ... -const VERSION = "2.2.1" +const VERSION = "2.3.0"