Skip to content

Commit 277d3d0

Browse files
committed
Update build-and-release.yml
1 parent a70bf85 commit 277d3d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-and-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ jobs:
2222
id: step2
2323
run: |
2424
# In case only a shallow clone was done
25-
git fetch --tags
25+
# git fetch --tags
2626
2727
VERSION=$(cat 'package.json' | jq -r '.version')
28-
VERSION=0.1.8
2928
3029
if [[ ! $(git tag | grep "${VERSION}") ]]; then
3130
echo "New version: v${VERSION}"
@@ -64,7 +63,8 @@ jobs:
6463

6564
strategy:
6665
matrix:
67-
os: [macos-latest, ubuntu-latest, windows-latest]
66+
os: [ubuntu-latest]
67+
# os: [macos-latest, ubuntu-latest, windows-latest]
6868

6969
steps:
7070
- name: Check out Git repository
@@ -84,4 +84,4 @@ jobs:
8484

8585
# If the commit is tagged with a version (e.g. "v1.0.0"),
8686
# release the app after building
87-
release: ${{ VERSION }}
87+
release: $VERSION

0 commit comments

Comments
 (0)