Skip to content

Commit

Permalink
Updated dist-release to manage GitHub push and local checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
runeimp committed Nov 28, 2019
1 parent ac9ed76 commit 8205522
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ _dir-list:
# Distribution Helper
@dist sub="release":
just dist-{{sub}}

# Distribution Releaser
dist-release:
#!/bin/sh
just _term-wipe
just _clean
git checkout master
git push --all && git push --tags
goreleaser
# goreleaser release --skip-publish
ver="$(git tag | tail -1)"
Expand All @@ -61,6 +64,7 @@ dist-release:
cd dist
mv *.{deb,gz,md,rpm,txt,yaml,zip} ../distro/templar_${ver}/
fi
git checkout develop

# Distribution Tester
dist-test:
Expand Down

0 comments on commit 8205522

Please sign in to comment.