File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 33
33
# Only publish if not on the main branch, the release tag starts with a "v"
34
34
# and is flagged as a prerelease
35
35
if : |
36
+ github.event.release.target_commitish != 'main' &&
36
37
startsWith(github.ref, 'refs/tags/v') &&
37
38
github.event.release.prerelease == true
38
39
runs-on : ubuntu-latest
72
73
VALID_SEMVER_VERSION=$(node scripts/version-helper.js $SEMVER_VERSION)
73
74
echo "Semver stable version unclean $SEMVER_VERSION"
74
75
echo "Semver stable version valid $VALID_SEMVER_VERSION"
76
+ - uses : actions/github-script@v6
77
+ with :
78
+ script : |
79
+ octokit.rest.repos.updateRelease({
80
+ owner: context.repository.owner,
81
+ repo: context.repository.name,
82
+ release_id: context.release.id
83
+ body: '👋 woo hoo!'
84
+ })
You can’t perform that action at this time.
0 commit comments