-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refine autogenerated build config; add workflow for automatic releases
- Loading branch information
Showing
4 changed files
with
56 additions
and
611 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.