Skip to content

Commit e463771

Browse files
committed
fix the release.yml workflow
1 parent 472f9cf commit e463771

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ jobs:
4747
env:
4848
GITHUB_USER_NAME: ${{ github.actor }}
4949
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
- name: Build Docker image
51-
uses: aboutbits/github-actions-docker/build-push@v1
50+
- uses: aboutbits/github-actions-docker/build-push@v1
5251
with:
5352
username: ${{ github.actor }}
5453
password: ${{ secrets.GITHUB_TOKEN }}
@@ -59,8 +58,7 @@ jobs:
5958
- name: Push tag to remote
6059
run: ./gradlew --console=colored pushRelease
6160
shell: bash
62-
- name: Create GitHub Release
63-
uses: aboutbits/github-actions-base/github-create-release@v2
61+
- uses: aboutbits/github-actions-base/github-create-release@v2
6462
with:
6563
tag-name: 'v${{ steps.nextVersion.outputs.version }}'
6664
release-description: |
@@ -94,7 +92,6 @@ jobs:
9492
run: |
9593
sed -i "s|releases/download/v[0-9.]*/postgresql-operator-[0-9.]*.tgz|releases/download/v${{ steps.nextVersion.outputs.version }}/postgresql-operator-${{ steps.nextVersion.outputs.version }}.tgz|g" README.md
9694
git add README.md
97-
# Guard against failing if there are no changes
98-
git diff-index --quiet HEAD || git commit -m "Update README.md with version ${{ steps.nextVersion.outputs.version }}"
95+
git diff-index --quiet HEAD || git commit -m "update README.md with version ${{ steps.nextVersion.outputs.version }}"
9996
git push
10097
shell: bash

0 commit comments

Comments
 (0)