Skip to content

Commit e640eb5

Browse files
committed
Merge remote-tracking branch 'makenew/public'
2 parents 2482178 + 8f6cefd commit e640eb5

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎.github/workflows/prune.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- cron: '0 15 * * 3'
88

99
jobs:
10-
tag:
10+
branches:
1111
name: Prune Branches
1212
runs-on: 'ubuntu-latest'
1313
timeout-minutes: 30

‎.github/workflows/version.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
*-*) channel="${VERSION#*-}"; channel="${channel%%.*}" ;;
4242
*) echo "Stable release, no channel note required."; exit 0 ;;
4343
esac
44-
git fetch origin "+refs/notes/semantic-release:refs/notes/semantic-release" || true
45-
git notes --ref semantic-release add --force \
44+
git notes --ref "semantic-release-v$VERSION" add --force \
4645
--message "{\"channels\":[\"$channel\"]}" "v$VERSION^{commit}"
47-
git push origin refs/notes/semantic-release
46+
git push origin "refs/notes/semantic-release-v$VERSION"
4847
echo "Recorded v$VERSION on the '$channel' channel."

0 commit comments

Comments
 (0)