Skip to content

Commit

Permalink
Merge pull request #1679 from smallrye/ci/deploy-snapshots-without-si…
Browse files Browse the repository at this point in the history
…gnature

ci: deploy snapshots without signing them
  • Loading branch information
jponge committed Sep 12, 2024
2 parents 626f641 + 8db0a23 commit 571fd2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .build/justfile-for-release
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ deploy-to-maven-central:
@echo "Deploy to Maven Central"
./mvnw --batch-mode --no-transfer-progress deploy -Prelease -DskipTests

# Deploy snapshots to Maven Central
deploy-snapshots-to-maven-central:
@echo "Deploy snapshots to Maven Central"
./mvnw --batch-mode --no-transfer-progress deploy -DskipTests

# Steps post-release
post-release:
@echo "🚀 Post-release steps..."
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
echo "🚀 Run the tests"
./mvnw --no-transfer-progress -s .build/maven-ci-settings.xml -B clean verify
echo "🚀 Deploy the snapshots"
just -f .build/justfile-for-release -d . deploy-to-maven-central
just -f .build/justfile-for-release -d . deploy-snapshots-to-maven-central
else
echo "🤌 This is a release commit, we won't do anything!"
fi

0 comments on commit 571fd2e

Please sign in to comment.