Skip to content

Commit

Permalink
Create create-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thirstyice authored Sep 9, 2024
1 parent d5a22c4 commit 5c6202c
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"

jobs:
draft-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update package.json
uses: ramonpaolo/bump-version@v2.3.1
with:
tag: ${{ github.ref_name }}
commit: true
branch_to_push: 'main'
- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
generate_release_notes: true
make-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4.0.3
- name: Install Deps
run: npm install
- name: Make
run: npm run make
- name: Add to release
uses: softprops/action-gh-release@v2
with:
files: |
out/make/**/*.deb
out/make/**/*.rpm


0 comments on commit 5c6202c

Please sign in to comment.