Skip to content

Commit

Permalink
cd(cli): Release the CLI upon new tag
Browse files Browse the repository at this point in the history
  • Loading branch information
akash1810 committed Dec 13, 2023
1 parent 54d8357 commit 5ab736b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release CLI

on:
push:
tags:
- cli-v*

jobs:
release:
runs-on: ubuntu-latest

permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: lint + compile
working-directory: cli
run: |
deno fmt --check
deno task compile
- run: gh release create ${{ github.ref }} cli/dist/devx-logs --generate-notes
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 5ab736b

Please sign in to comment.