mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
fix env
This commit is contained in:
parent
9648a4dede
commit
70abf03bc5
1 changed files with 6 additions and 2 deletions
8
.github/workflows/build-sign-notarize.yml
vendored
8
.github/workflows/build-sign-notarize.yml
vendored
|
@ -54,13 +54,17 @@ jobs:
|
|||
tea +stedolan.github.io/jq
|
||||
export version=$(echo $(cat modules/desktop/package.json) | jq --raw-output .version)
|
||||
export postfix=
|
||||
if GIT_DIR=/path/to/repo/.git git rev-parse $1 >/dev/null 2>&1
|
||||
release="release"
|
||||
if [ $prefix == $release ];
|
||||
then
|
||||
echo "Found tag"
|
||||
echo "no postfix"
|
||||
else
|
||||
echo "dev"
|
||||
export postfix=-dev
|
||||
fi
|
||||
echo "version=$version$postfix" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
prefix: ${{ inputs.s3-prefix }}
|
||||
|
||||
- name: cache node_modules build
|
||||
# TODO: cache issue in our self-hosted macos runner ESPIPE: invalid seek, read
|
||||
|
|
Loading…
Reference in a new issue