mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Merge branch 'main' into dev
This commit is contained in:
commit
53d64b3924
1 changed files with 9 additions and 1 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -1,6 +1,8 @@
|
||||||
name: Release
|
name: Release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- dev
|
- dev
|
||||||
|
@ -68,10 +70,16 @@ jobs:
|
||||||
rm release/package.json
|
rm release/package.json
|
||||||
rm release/*.map
|
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
|
- name: Upload Equicord Stable
|
||||||
if: ${{ github.ref_name == 'main' }}
|
if: ${{ github.ref_name == 'main' }}
|
||||||
run: |
|
run: |
|
||||||
gh release upload latest --clobber dist/release/*
|
gh release create v${{ steps.package-version.outputs.current-version}} --latest=false
|
||||||
|
gh release upload v${{ steps.package-version.outputs.current-version}} --clobber dist/release/*
|
||||||
|
|
||||||
- name: Upload Equicord Dev
|
- name: Upload Equicord Dev
|
||||||
if: ${{ github.ref_name == 'dev' }}
|
if: ${{ github.ref_name == 'dev' }}
|
||||||
|
|
Loading…
Reference in a new issue