Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions .github/workflows/on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,18 @@ jobs:
node-version-file: '.nvmrc'
- id: version
run: echo "version=$(echo ${{ github.ref }} | sed 's/refs\/tags\/v//')" >> $GITHUB_OUTPUT
- name: setup git config
run: |
git config user.name github-actions
git config user.email github-actions@github.com
- run: git checkout -b "bump/${{ steps.version.outputs.version }}"
- run: pnpm version ${{ steps.version.outputs.version }}
- run: git push origin "bump/${{ steps.version.outputs.version }}"
- uses: actions/github-script@v7
- uses: peter-evans/create-pull-request@v6
with:
script: |
core.notice('Create PR by going to: https://github.com/gitify-app/website/compare/bump/${{ steps.version.outputs.version }}')
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'docs: update latest release to ${{ steps.version.outputs.version }}'
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: 'bump/${{ steps.version.outputs.version }}'
delete-branch: true
title: 'docs: update latest release to ${{ steps.version.outputs.version }}'
body: |
Update latest release to ${{ steps.version.outputs.version }}
labels: |
documentation
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The release process is automated. Follow the steps below.
4. In the same branch, **bump the version** of the app by running `pnpm version <new-version-number`. Commit these changes and open a PR. A GitHub Actions workflow will build, sign and upload the release assets for each commit to that branch as long as a branch is named like `release/vX.X.X` and there is a draft release with the same version number(`package.json`).
5. Merge your release branch into `main`.
6. Publish the release once you've finalized the release notes and confirmed all assets are there.
7. Raise and merge a pull request in [gitify-app/website](https://github.com/gitify-app/website) using the automatically created branch (ie: `bump/v1.2.3`)
7. Merge the open pull request in [gitify-app/website](https://github.com/gitify-app/website/pulls) (ie: `bump/v1.2.3`)

### Tests

Expand Down