Skip to content

Commit

Permalink
hardcode branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
leoparente committed Nov 21, 2024
1 parent 3cb5aa1 commit bade265
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/device-discovery-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
write-mode: overwrite
contents: |
{
"branches": "release",
"branches": "refs/pull/4/merge",
"repositoryUrl": "https://github.com/netboxlabs/orb-discovery",
"debug": "true",
"tagFormat": "${{ env.APP_NAME }}/v${version}",
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- name: release dry-run
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_SEMANTIC_RELEASE_WEBHOOK }}
run: npx semantic-release --debug --dry-run --no-ci --branches "release"
run: npx semantic-release --debug --dry-run --no-ci --branches "refs/pull/4/merge"
id: get-next-version
- name: Set short sha output
id: short-sha
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
write-mode: overwrite
contents: |
{
"branches": "release",
"branches": "refs/pull/4/merge",
"repositoryUrl": "https://github.com/netboxlabs/orb-discovery",
"debug": "true",
"tagFormat": "${{ env.APP_NAME }}/v${version}",
Expand Down Expand Up @@ -243,4 +243,4 @@ jobs:
- name: Release
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_OBSERVABILITY_RELEASE_WEBHOOK }}
run: npx semantic-release --debug --no-ci --branches "release"
run: npx semantic-release --debug --no-ci --branches "refs/pull/4/merge"

0 comments on commit bade265

Please sign in to comment.