Skip to content

chore: add stable version info to repository-dispatch event #13997

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

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Changes from all 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
chore: add stable version info to repository-dispatch event.
This is needed to determine if the new releases are stable or mainline in [`coder/packages`](https://github.com/coder/packages/) repo.

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
  • Loading branch information
matifali and mafredri committed Jul 25, 2024
commit beba6c089c18686190f7c6e3707583412a90107e
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -396,14 +396,14 @@ jobs:
./build/*.rpm
retention-days: 7

- name: Start Packer builds
- name: Send repository-dispatch event
if: ${{ !inputs.dry_run }}
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.CDRCI_GITHUB_TOKEN }}
repository: coder/packages
event-type: coder-release
client-payload: '{"coder_version": "${{ steps.version.outputs.version }}"}'
client-payload: '{"coder_version": "${{ steps.version.outputs.version }}", "release_channel": "${{ inputs.release_channel }}"}'

publish-homebrew:
name: Publish to Homebrew tap
Expand Down
Loading