Skip to content

Commit

Permalink
feat(#4): release to gh
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Mar 27, 2024
1 parent 5dccce1 commit bfe1cc3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ merge:
# We should create release script that will tag and release Java application
# into GitHub releases page.
release:
script: |-
echo "#release script is not ready yet"
exit -1
script: |
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9_]+)?$ ]] || exit -1
mvn versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
mvn clean install -Prelease
deploy:
script: |-
script: |
echo "There is no such thing as #deploy"
exit -1

0 comments on commit bfe1cc3

Please sign in to comment.