Skip to content

Commit

Permalink
[Actions] Don't publish snapshots for other than tnb-software repo
Browse files Browse the repository at this point in the history
  • Loading branch information
avano committed Nov 22, 2022
1 parent 5ab88a2 commit fa80333
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,7 @@ jobs:
snapshot_version=$(./semver bump patch ${previous_tag})-SNAPSHOT
mvn --no-transfer-progress versions:set -DnewVersion=${snapshot_version} -DoldVersion=* -DgroupId=* -DartifactId=* -DgenerateBackupPoms=false
- name: Deploy
run: mvn --no-transfer-progress --activate-profiles deploy clean deploy
run: |
if [ "${GITHUB_REPOSITORY_OWNER}" = "tnb-software" ]; then
mvn --no-transfer-progress --activate-profiles deploy clean deploy
fi

0 comments on commit fa80333

Please sign in to comment.