Skip to content

Commit

Permalink
Release v1.49.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
albogdano committed Feb 20, 2024
1 parent b866efb commit 27cb8c8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ read -e -p "New dev version: " devver
#sed -i -e "s/PARA_VERSION=.*/PARA_VERSION="\"$ver\""/g" Dockerfile Dockerfile-base && \
git add -A && git commit -m "Release v$ver." && git push origin master

mvn --batch-mode -Dtag=v${ver} release:prepare -Dresume=false -DreleaseVersion=${ver} -DdevelopmentVersion=${devver}-SNAPSHOT && \
mvn release:perform && \
echo "Maven release done, publishing release on GitHub..," && \
git log $lastver..HEAD --oneline >> changelog.txt && \
echo "" >> changelog.txt && \
echo "### :package: [Download JAR](https://oss.sonatype.org/service/local/repositories/releases/content/com/erudika/para-jar/${ver}/para-jar-${ver}.jar)" >> changelog.txt && \
echo "" >> changelog.txt && \
echo "### :package: [Download WAR](https://oss.sonatype.org/service/local/repositories/releases/content/com/erudika/para-war/${ver}/para-war-${ver}.war)" >> changelog.txt && \
hub release create -F changelog.txt -t "v$ver" "v$ver" && \
rm changelog.txt
mvn --batch-mode -Dtag=v${ver} release:prepare -DdryRun=true -Dresume=false -DreleaseVersion=${ver} -DdevelopmentVersion=${devver}-SNAPSHOT && \
#mvn release:perform && \
# echo "Maven release done, publishing release on GitHub..," && \
# git log $lastver..HEAD --oneline >> changelog.txt && \
# echo "" >> changelog.txt && \
# echo "### :package: [Download JAR](https://oss.sonatype.org/service/local/repositories/releases/content/com/erudika/para-jar/${ver}/para-jar-${ver}.jar)" >> changelog.txt && \
# echo "" >> changelog.txt && \
# echo "### :package: [Download WAR](https://oss.sonatype.org/service/local/repositories/releases/content/com/erudika/para-war/${ver}/para-war-${ver}.war)" >> changelog.txt && \
# hub release create -F changelog.txt -t "v$ver" "v$ver" && \
# rm changelog.txt


0 comments on commit 27cb8c8

Please sign in to comment.