Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/check-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exists=$(

if [[ "$exists" == true ]]; then
echo "Release ${release_version} already exists."
echo '::set-output name=release_exists::true'
echo "release_exists=true" >>$GITHUB_ENV
else
echo '::set-output name=release_exists::false'
echo "release_exists=false" >>$GITHUB_ENV
fi
2 changes: 1 addition & 1 deletion .github/scripts/source-tag-sha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ if [[ $sha == 'null' ]]; then
fi

echo "SHA for ${tag_name}: ${sha}"
echo "::set-output name=sha::$sha"
echo "sha=${sha}" >>$GITHUB_ENV
2 changes: 1 addition & 1 deletion .github/scripts/verify-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
git diff
git status dist -s

## Raise error if more than 1 files changed in working dir
# Raise error if more than 1 files changed in working dir
if [[ ! -z $(git status dist -s) ]]; then
echo "Build at dist is outdated. Update build, push and try again."
exit 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
version=$(cat package.json | jq '.version' --raw-output)
echo "Version: v${version}"
echo "::set-output name=version::v${version}"
echo "version=v${version}" >> $GITHUB_ENV

- name: Check if release exists
id: release-check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/major-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
echo "Tag name: ${TAG_NAME}"
major_version=${TAG_NAME%.*.*}
echo "Major Version: ${major_version}"
echo "::set-output name=major_version::$major_version"
echo "major_version=${major_version}" >> $GITHUB_ENV

- name: Check if major version exists
id: check-release
Expand Down