diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b977573665..ed7cfec17a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -142,6 +142,18 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: make generate-release-notes + - name: Delete tag + # env: + # VERSION: ${{ github.ref_name }} + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: git push origin :${{ github.ref_name }} + + - name: Create and push module tags + # env: + # VERSION: ${{ github.ref_name }} + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: make multimod-push-tags + - uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0 with: allowUpdates: true diff --git a/RELEASE.md b/RELEASE.md index 48fa8e00ce..b9c34465ee 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -43,7 +43,7 @@ git push origin release/v0.7.0 * Create a pull request with the changes. -## 3. Create and Push Tags +## 3. Create and Push Tag * After the pull request is approved and merged, update your local main branch. ```sh @@ -51,9 +51,10 @@ git checkout main git pull origin main ``` -* Create and push the tags for the last commit to the repository. +* Create and push a new tag in order to trigger the `Release` workflow. ```sh -make multimod-push-tags +git tag -a v0.7.0 +git push origin v0.7.0 ``` ## Post-release Checks