This is an automated email from the ASF dual-hosted git repository. thiagohp pushed a commit to branch javax in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit 603820cf2335f5e17ac2f6c12c2d846b55e178f2 Author: Thiago H. de Paula Figueiredo <thi...@arsmachina.com.br> AuthorDate: Sun Aug 18 18:27:39 2024 -0300 TAP5-2785: creating snapshot and release recipes for the 2 branches --- justfile | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/justfile b/justfile index b49bc4813..b91730243 100644 --- a/justfile +++ b/justfile @@ -16,17 +16,27 @@ local-snapshot-full: tapestry-core-maven-local-snapshot: ./gradlew tapestry-core:publishToMavenLocal {{gradle-options}} -Dci=true +_deploy_branch branch extra-options: + echo "Releasing branch: {{branch}} with Gradle extra options '{{extra-options}}'" + # Fail if there are untracked files or uncommitted changes + #git diff --quiet && git diff --cached --quiet || echo "\nThere are untracked files or uncommitted changes!\n" && git status && false + #git checkout master + #./gradlew clean generateRelease {{gradle-options}} {{extra-options}} + +_deploy_javax extra-options: (_deploy_branch "javax" extra-options) +_deploy_master extra-options: (_deploy_branch "master" extra-options) + # Deploys a snapshot to the ASF snapshots repository -snapshot: - git stash - ./gradlew clean generateRelease {{gradle-options}} -Dci=true - git stash pop +snapshot: (_deploy_branch "master" "-Dci=true") (_deploy_branch "javax" "-Dci=true") # Deploys a release to the ASF staging repository -release: - git stash - ./gradlew clean generateRelease {{gradle-options}} - git stash pop +release version: (_deploy_branch "master" "") (_deploy_branch "javax" "") + #git checkout master + #git tag {{version}} + #git push --tags + #git checkout javax + #git tag {{version}}-javax + #git push --tags # Builds Tapestry without running tests build: