Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (releases): Remove creating Git tag on each release

Rostislav Dugin3c328bded7ec
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3c77e662..682407d5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -9,6 +9,9 @@ jobs:
release:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[skip-release]') }}
+ permissions:
+ contents: write
+ pull-requests: write
steps:
- name: Check out code
@@ -197,15 +200,6 @@ jobs:
echo EOF
} >> $GITHUB_OUTPUT
- - name: Create Git tag
- if: steps.version_bump.outputs.should_release == 'true'
- run: |
- NEW_VERSION="${{ steps.version_bump.outputs.new_version }}"
- git config user.name "github-actions[bot]"
- git config user.email "github-actions[bot]@users.noreply.github.com"
- git tag -a "v${NEW_VERSION}" -m "Release v${NEW_VERSION}"
- git push origin "v${NEW_VERSION}"
-
- name: Create GitHub Release
if: steps.version_bump.outputs.should_release == 'true'
uses: actions/create-release@v1