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 e87a6cb
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release CLI

on:
push:
tags:
- cli-v*

jobs:
release:
runs-on: ubuntu-latest

permissions:
contents: write
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: sha256sum cli/dist/devx-logs > cli/dist/checksum.txt
- run: gh release create ${{ github.ref }} cli/dist/* --generate-notes
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e87a6cb

Please sign in to comment.