Skip to content

Commit 5803879

Browse files
committed
cleaner release
Signed-off-by: Pascal Andy <[email protected]>
1 parent c2750e8 commit 5803879

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

push_release.sh

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
# Requires that we already and a branch tagged.
2+
# Usually via Tower
3+
14
# This is specific to my local set up
25
source .env .
36

47
# vars
5-
# GITHUB_TOKEN="3122133122133211233211233211233211322313123"
8+
#GITHUB_TOKEN="3122133122133211233211233211233211322313123"
9+
#local_repo="$Users/.../docker-stack-this"
610
user="pascalandy"
711
git_repo="docker-stack-this"
8-
local_repo="/Volumes/960G/_pascalandy/11_FirePress/Github/github_pascalandy/docker-stack-this"
12+
913

1014
# The tag must be ready to push on git remote
1115
#
@@ -19,21 +23,14 @@ tag_version="$(
1923
| cut -d$'\t' -f2 \
2024
| cut -d/ -f3 \
2125
| tail -n1)" && \
26+
27+
# confirm
2228
echo ${tag_version} && \
2329

24-
# Push release on GitHub like a boss
25-
# Requires: https://github.com/aktau/github-release
26-
#
30+
# Requires https://github.com/aktau/github-release
2731
$GOPATH/bin/github-release release \
2832
--user ${user} \
2933
--repo ${git_repo} \
3034
--tag ${tag_version} \
3135
--name ${tag_version} \
3236
--description "Refer to [CHANGELOG.md](https://github.com/pascalandy/docker-stack-this/blob/master/CHANGELOG.md) for details about this release."
33-
34-
35-
36-
$GOPATH/bin/github-release info \
37-
--user ${user} \
38-
--repo ${git_repo} \
39-
--tag ${tag_version}

0 commit comments

Comments
 (0)