Skip to content

Commit

Permalink
Merge pull request #675 from lkiesow/fix-release-script
Browse files Browse the repository at this point in the history
Fix Release Script
  • Loading branch information
lkiesow committed Jun 6, 2024
2 parents fb73022 + f547909 commit d81862d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/build-release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -eux

# Build integrated version
cd ..
rm -rf build/
Expand All @@ -8,4 +10,4 @@ npm run build

FILENAME="oc-admin-ui-$(date -u +%F).tar.gz"
cd build
tar -czf ../$FILENAME *
tar -czf "../${FILENAME}" *
3 changes: 2 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
run: npm ci

- name: create release tarball
run: ./.github/build-release.sh
working-directory: .github
run: ./build-release.sh

- name: create new release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit d81862d

Please sign in to comment.