Skip to content

Commit

Permalink
build: fix npm release
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianKramm committed May 13, 2022
1 parent fbfc6db commit 025444a
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 169 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
echo "::set-output name=release_version::$RELEASE_VERSION"
- run: |
npm ci
export NPM_TAG=$RELEASE_VERSION
export NPM_TAG=$(node index.js get-tag)
npm publish --tag $NPM_TAG
working-directory: ./dist/npm
env:
Expand Down
3 changes: 3 additions & 0 deletions dist/npm/bin/devspace
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ if [ ! -f "$BINARY" ] || [ "$STAT" -lt 10000 ]; then

echo "Running: node $BASEDIR/$INDEX_FILE finish-install $BINDIR"
/usr/bin/env node "$BASEDIR/$INDEX_FILE" finish-install $BINDIR;
if [ $? -ne 0 ]; then
exit 1
fi

CMD_BIN=$(command -v cmd.exe)

Expand Down
Loading

0 comments on commit 025444a

Please sign in to comment.