We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f13217 + 3953912 commit 6890d08Copy full SHA for 6890d08
scripts/release.mjs
@@ -14,7 +14,8 @@ async function main() {
14
await build();
15
await $({ stdout: 'inherit', stderr: 'inherit' })`auto shipit`;
16
17
- if (process.env.GITHUB_REF === 'main') {
+ // https://github.blog/changelog/2023-09-13-github-actions-updates-to-github_ref-and-github-ref/
18
+ if (process.env.GITHUB_REF === 'refs/heads/main') {
19
await publishAction('latest');
20
} else {
21
console.info('Skipping automatic publish of action-canary.');
0 commit comments