Skip to content

Commit f2a079b

Browse files
committed
Fixes the release workflow (3)
1 parent 5dd5dcb commit f2a079b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/release-workflow.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
compgen -G 'artifacts/yarn-*.js'
2828
continue-on-error: true
2929

30+
- name: 'Build the deb dist folder'
31+
run: |
32+
./scripts/build-dist.sh
33+
if: success()
34+
3035
- name: 'Build the deb archive'
3136
uses: ./scripts/actions/build-deb
3237
if: success()

scripts/build-dist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -o pipefail
55

66
umask 0022 # Ensure permissions are correct (0755 for dirs, 0644 for files)
77

8-
version=$(yarn --version)
8+
version=$(node packages/berry-cli/bundles/berry.js --version)
99

1010
rm -rf dist
1111
mkdir -p artifacts

0 commit comments

Comments
 (0)