mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
v1.10.8
This commit is contained in:
parent
935a5eaf6e
commit
1d44674335
1 changed files with 9 additions and 2 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -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' }}
|
||||
|
|
Loading…
Reference in a new issue