Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
niusmallnan committed Apr 5, 2019
1 parent 04cfee8 commit 9c1c235
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,14 @@ source $(dirname $0)/version
cd $(dirname $0)/..

./scripts/ci

echo
echo "to publish release to github, run dist/publish.sh"

echo "#!/bin/sh"> dist/publish.sh
#echo "hub release create -t ${COMMIT} -m v${RELEASE_VERSION} v${RELEASE_VERSION}" >> dist/publish.sh
echo "for f in \$(ls ./dist/artifacts) ; do" >> dist/publish.sh
echo " hub release edit -m ${VERSION} -a ./dist/artifacts/\${f} ${VERSION}" >> dist/publish.sh
echo "done" >> dist/publish.sh

chmod 755 dist/publish.sh

0 comments on commit 9c1c235

Please sign in to comment.