This commit is contained in:
thororen1234 2024-12-09 02:44:52 -05:00
parent 935a5eaf6e
commit 1d44674335

View file

@ -1,8 +1,9 @@
name: Release
on:
push:
tags:
- v*
branches:
- main
- dev
env:
FORCE_COLOR: true
@ -68,10 +69,16 @@ jobs:
rm release/package.json
rm release/*.map
- name: get-npm-version
if: ${{ github.ref_name == 'main' }}
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1
- name: Upload Equicord Stable
if: ${{ github.ref_name == 'main' }}
run: |
gh release upload latest --clobber dist/release/*
gh release create ${{ steps.package-version.outputs.current-version}} --latest=false
gh release upload ${{ steps.package-version.outputs.current-version}} --clobber dist/release/*
- name: Upload Equicord Dev
if: ${{ github.ref_name == 'dev' }}