Skip to content

Commit

Permalink
refine autogenerated build config; add workflow for automatic releases
Browse files Browse the repository at this point in the history
  • Loading branch information
flbraun committed Oct 28, 2023
1 parent 57d6f4c commit fd12a75
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 611 deletions.
16 changes: 16 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
changelog:
exclude:
labels:
- ignore-for-release
categories:
- title: Breaking Changes
labels:
- Semver-Major
- breaking-change
- title: New Features
labels:
- Semver-Minor
- enhancement
- title: Other Changes And Fixes
labels:
- "*"
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release

on:
push:
tags:
- "v*.*.*"

permissions:
contents: write

jobs:

build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 20.9

- name: Install dependencies
run: npm ci

- name: Sanity-check tag and app version
uses: geritol/match-tag-to-package-version@0.2.0
with:
TAG_PREFIX: v

- name: Build
run: npm run make

- name: Create release
uses: softprops/action-gh-release@v1
with:
files: |
out/make/zip/win32/x64/poe-palette-win32-x64-${{ github.ref_name }}.zip
LICENSE.txt
Loading

0 comments on commit fd12a75

Please sign in to comment.