Appending test
This commit is contained in:
parent
7205fe8174
commit
310db526a5
2 changed files with 13 additions and 7 deletions
17
.github/workflows/build-macos.yml
vendored
17
.github/workflows/build-macos.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
||||||
python3 -m castlabs_evs.account refresh -A ${{ secrets.EVS_ACCOUNT_NAME }} -P ${{ secrets.EVS_PASSWD }}
|
python3 -m castlabs_evs.account refresh -A ${{ secrets.EVS_ACCOUNT_NAME }} -P ${{ secrets.EVS_PASSWD }}
|
||||||
|
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
run: brew install autoconf automake libtool
|
run: brew install automake #libtool autoconf
|
||||||
|
|
||||||
- name: Install and Configure Node Modules
|
- name: Install and Configure Node Modules
|
||||||
run: |
|
run: |
|
||||||
|
@ -96,16 +96,21 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
dist/*.dmg
|
dist/*.dmg
|
||||||
dist/*.pkg
|
dist/*.pkg
|
||||||
latest-mac.yml
|
dist/latest-mac.yml
|
||||||
|
|
||||||
- name: Upload Artifacts to Latest Release
|
- name: Upload Artifacts to Latest Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_REPOSITORY: ciderapp/cider-releases
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.RELEASE_TOKEN }}
|
repository: ciderapp/cider-releases
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
append_body: false
|
||||||
files: |
|
files: |
|
||||||
dist/*.dmg
|
dist/*.dmg
|
||||||
dist/*.pkg
|
dist/*.pkg
|
||||||
latest-mac.yml
|
dist/latest-mac.yml
|
||||||
tag_name: v${{ env.APP_VERSION }}
|
tag_name: v${{ env.APP_VERSION }}
|
||||||
env:
|
title: Cider Version ${{ env.APP_VERSION }} (${{ env.GITHUB_REF_NAME }})
|
||||||
GITHUB_REPOSITORY: ciderapp/cider-releases
|
body: Full changelog available [here](https://github.com/ciderapp/Cider/compare/stable...main)
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
STABLE_SHA=$(curl -s https://api.github.com/repos/ciderapp/Cider/branches/stable | grep '"sha"' | head -1 | cut -d '"' -f 4)
|
STABLE_SHA=$(curl -s https://api.github.com/repos/ciderapp/Cider/branches/stable | grep '"sha"' | head -1 | cut -d '"' -f 4)
|
||||||
SHA_DATE=$(git show -s --format=%ci $STABLE_SHA)
|
SHA_DATE=$(git show -s --format=%ci $STABLE_SHA)
|
||||||
COMMITSINCESTABLE=$(git rev-list $STABLE_SHA..HEAD --count --since="$SHA_DATE")
|
#COMMITSINCESTABLE=$(git rev-list $STABLE_SHA..HEAD --count --since="$SHA_DATE")
|
||||||
|
COMMITSINCESTABLE=9
|
||||||
CURRENT_VERSION=$(node -p -e "require('./package.json').version")
|
CURRENT_VERSION=$(node -p -e "require('./package.json').version")
|
||||||
|
|
||||||
echo "Commits since stable: $COMMITSINCESTABLE"
|
echo "Commits since stable: $COMMITSINCESTABLE"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue