Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
feat: move module tags creation to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
paralta committed Feb 23, 2024
1 parent f37c46a commit 8e783b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,18 @@ 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
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
Expand Down

0 comments on commit 8e783b0

Please sign in to comment.