-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05731af
commit 62ee665
Showing
1 changed file
with
17 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,28 +32,26 @@ jobs: | |
|
||
- name: Verify if the tag exists | ||
run: | | ||
echo "start" | ||
tags="$(git tag -l)" | ||
echo "TAGS: $tags" | ||
if "$tags" | grep -i -q "${{ env.TAG }}"; then | ||
echo "This tag ("${{ env.TAG }}") already exists!" | ||
exit 1 | ||
fi | ||
# - name: Create release | ||
# uses: ncipollo/[email protected] | ||
# with: | ||
# commit: main | ||
# tag: "${{ env.TAG }}" | ||
# generateReleaseNotes: true | ||
# | ||
# - name: Release Helm Chart | ||
# uses: appany/[email protected] | ||
# with: | ||
# name: voltaserve | ||
# repository: kouprlabs/voltaserve-helm | ||
# tag: "${{ env.TAG }}" | ||
# registry: ghcr.io | ||
# registry_username: ${{ github.actor }} | ||
# registry_password: ${{ github.token }} | ||
# update_dependencies: true | ||
- name: Create release | ||
uses: ncipollo/[email protected] | ||
with: | ||
commit: main | ||
tag: "${{ env.TAG }}" | ||
generateReleaseNotes: true | ||
|
||
- name: Release Helm Chart | ||
uses: appany/[email protected] | ||
with: | ||
name: voltaserve | ||
repository: kouprlabs/voltaserve-helm | ||
tag: "${{ env.TAG }}" | ||
registry: ghcr.io | ||
registry_username: ${{ github.actor }} | ||
registry_password: ${{ github.token }} | ||
update_dependencies: true |