Skip to content

Commit

Permalink
chore: fix publish (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Mar 27, 2024
1 parent e2e9ce7 commit bcba1af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ jobs:
- name: Test
run: deno task test

- name: Get tag version
if: contains(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/')
id: get_tag_version
run: echo TAG_VERSION=${GITHUB_REF/refs\/tags\//} >> "$GITHUB_OUTPUT"

- name: Publish
if: contains(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/')
run: |
deno run -A ./scripts/update_deno_json_version.ts ${{steps.get_tag_version.outputs.TAG_VERSION}}
deno publish
- name: Publish on tag
if: contains(matrix.os, 'ubuntu')
run: deno run -A jsr:@david/[email protected] --allow-dirty
16 changes: 0 additions & 16 deletions scripts/update_deno_json_version.ts

This file was deleted.

0 comments on commit bcba1af

Please sign in to comment.