Skip to content

Commit d2559e9

Browse files
authored
Removing tag from snapshot builds
1 parent ae511c6 commit d2559e9

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

.github/workflows/gradle-master.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -78,27 +78,4 @@ jobs:
7878
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
7979
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
8080
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81-
run: cd lisa && ./gradlew -Pversion=${{ steps.gitinfo.outputs.nextver }}-SNAPSHOT publishAllPublicationsToGitHubPackagesRepository
82-
- name: Delete old latest tag
83-
uses: dev-drprasad/[email protected]
84-
with:
85-
tag_name: latest
86-
env:
87-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88-
- name: Create snapshot release
89-
uses: viperproject/create-nightly-release@v1
90-
env:
91-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92-
with:
93-
tag_name: latest
94-
release_name: "Latest snapshot relese: ${{ steps.gitinfo.outputs.nextver }}-SNAPSHOT"
95-
body: |
96-
Latest snapshot relese: ${{ steps.gitinfo.outputs.nextver }}-SNAPSHOT.
97-
This release is not stable: its contents will be replaced at each push on branch `master`.
98-
No older copies of the snapshots will be kept in GitHub Packages.
99-
100-
Contents (commits since ${{ steps.gitinfo.outputs.currentver }}):
101-
${{ env.CHANGELOG }}
102-
keep_num: 0
103-
keep_tags: false
104-
81+
run: cd lisa && ./gradlew -Pversion=${{ steps.gitinfo.outputs.nextver }}-SNAPSHOT publishAllPublicationsToGitHubPackagesRepository

0 commit comments

Comments
 (0)