Skip to content

Commit 960d4c9

Browse files
authored
Merge pull request #31 from cryptosense/add-centos-compile-target
Updated release instructions
2 parents 2493a08 + bc474f1 commit 960d4c9

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,19 @@ For more advanced configuration, please refer to the `curl` documentation.
5858
* Create a tag:
5959
* `git tag --message 'Version 1.2.3' 1.2.3`
6060
* `git push --tags`
61+
* Create a release on GitHub for the new tag.
62+
* Make sure the CHANGES.md file is up to date
63+
64+
### Ubuntu and Windows targets
65+
6166
* Get the binaries from the ["Actions" tab] on GitHub
6267
* Select the pipeline associated with your tag and go to the summary
6368
* Download the binaries
64-
* Create a release on GitHub for the new tag.
6569
* Upload the binaries to the release
66-
* Make sure the CHANGES.md file is up to date
70+
71+
### CentOS 7 target
72+
73+
* Run `./make_release.bash <tag> .`
74+
* Upload the resulting archive to the release
6775

6876
["Actions" Tab]: https://github.com/cryptosense/api-client/actions

make_release.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ main() {
1111
local container_name="cs-api"
1212

1313
local tmp=$(mktemp --directory)
14-
local archive="cs-api-$version"
14+
local archive="cs-api-$version-centos-7"
1515
mkdir "$tmp/$archive"
1616

1717
docker build \

0 commit comments

Comments
 (0)