Files
galaxy/.github/workflows/cut_new_release_candidate.yml
T

42 lines
1.2 KiB
YAML

# A workflow to cut a Galaxy OSS release candidate on the OSS release branch.
name: Cut New Release Candidate
on:
workflow_dispatch:
jobs:
verify_release_branch:
name: Verify OSS release branch
runs-on: ubuntu-latest
steps:
- name: Verify branch
run: |
case "$GITHUB_REF_NAME" in
oss_release/*) ;;
*)
echo "::error::Can only create OSS release candidates on an oss_release/* branch"
exit 1
;;
esac
shell: bash
create_release_candidate:
name: Create OSS Release Candidate
uses: ./.github/workflows/create_release.yml
needs: verify_release_branch
secrets: inherit
update_channel_versions:
name: Update channel_versions.json
needs:
- create_release_candidate
runs-on: ubuntu-latest
steps:
- name: Invoke update workflow in channel-versions repository
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
with:
repository: warpdotdev/channel-versions
token: ${{ secrets.CHANNEL_VERSIONS_REPOSITORY_DISPATCH_TOKEN }}
event-type: update-channel-versions