Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update stable tag conditionally #2480

Merged
merged 4 commits into from
Dec 15, 2022
Merged
Changes from 1 commit
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
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
tag:
description: Git tag to build release from
required: true
update_stable_tag:
description: 'Update stable tag for docs'
required: true
type: boolean
default: 'false'
permissions:
contents: read

Expand Down Expand Up @@ -186,7 +191,8 @@ jobs:
- name: update stable tag for docs
run: |
git tag -f stable ${{ github.event.inputs.tag }}
git push -f origin stable
git push -f origin stable
if: ${{ inputs.update_stable_tag }}

- name: Draft release
uses: softprops/action-gh-release@v1
Expand Down