Skip to content

Commit

Permalink
Run deno publish from tag workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
silverlyra committed Jun 22, 2024
1 parent 092cc43 commit 9419ceb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 42 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/publish.yml

This file was deleted.

9 changes: 7 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tag version
name: Tag and publish version

on:
push:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
const subject = commit.message.split("\n", 1)[0];
console.log(chalk.bold(`“${subject}”`), chalk.gray(`[${sha}]`));
console.log(
`committed by ${chalk.bold(author.login)}`,
`by ${chalk.bold(author.login)}`,
`(${commit.author.name})`,
chalk.gray(commit.author.date)
);
Expand Down Expand Up @@ -94,3 +94,8 @@ jobs:
git tag -v "$TAG_NAME"
git push origin "$TAG_NAME"
- name: Publish to JSR
if: fromJson(steps.check.outputs.result).pending
run: >
deno publish

0 comments on commit 9419ceb

Please sign in to comment.