Skip to content

Commit

Permalink
[WIP] Add action to update v1 on every merge
Browse files Browse the repository at this point in the history
Currently running on each push to make sure it works
  • Loading branch information
acoulton committed Dec 17, 2024
1 parent a374943 commit f50d093
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release

on:
push:

jobs:

tag-release:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4

- name: Re-tag v1
# Note, the current `v1` tag won't have been pulled by "checkout" above, so we can just create a new one
run: git tag v1 && git show --no-patch v1

- name: Publish v1
run: git push -f origin v1

0 comments on commit f50d093

Please sign in to comment.