Skip to content

Commit

Permalink
Close #3199 Add "Make Latest" input to create release github actions …
Browse files Browse the repository at this point in the history
…workflow. (#3841)
  • Loading branch information
trackleft authored Oct 30, 2024
1 parent 1eccee4 commit 5f12336
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
required: false
default: false
type: boolean
make_latest:
description: Should this be made the latest release?
required: false
default: false
type: boolean
jobs:
build:
name: Upload Release Asset
Expand Down Expand Up @@ -56,10 +61,12 @@ jobs:
tag_name: ${{ github.event.inputs.version }}
name: ${{ github.event.inputs.version }}
draft: false
make_latest: ${{ github.event.inputs.make_latest }}
prerelease: ${{ github.event.inputs.pre_release }}
files: |
./az_quickstart.zip
./az_quickstart.tar.gz
- name: Remove version from info file
run: |
git config user.name github-actions
Expand All @@ -83,4 +90,4 @@ jobs:
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
repository: ${{ matrix.repo }}
event-type: az_quickstart_release
client-payload: '{"version": "${{ github.event.inputs.version }}"}'
client-payload: '{"version": "${{ github.event.inputs.version }}", "make_latest": "${{ github.event.inputs.make_latest }}"}'

0 comments on commit 5f12336

Please sign in to comment.