Skip to content

Commit e834c1f

Browse files
committed
Automatically set pre-release tag for releases to github
Former-commit-id: 504ed01
1 parent 7731aca commit e834c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release_unstable_release_branch.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mvn release:perform -DconnectionUrl=scm:git:[email protected]:SeqWare/seqware.git -
1717
# upload non-jar artifacts to github
1818

1919
# create release
20-
echo -e "{\"tag_name\":\""$VERSION"\", \"name\":\""$VERSION"\", \"body\":\""Automated release message"\"}" > release.json
20+
echo -e "{\"tag_name\":\""$VERSION"\", \"name\":\""$VERSION"\", \"prerelease\": true, \"body\":\""Automated release message"\"}" > release.json
2121
curl -u $TOKEN:x-oauth-basic -X POST -d @release.json https://api.github.com/repos/SeqWare/seqware/releases?tag_name=$VERSION&name=$VERSION
2222
rm release.json
2323
# extract release number, relies upon order of releases which can be improved

0 commit comments

Comments
 (0)