Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-bsaviano committed Oct 1, 2024
1 parent c96ec98 commit 221486a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
echo "name=$NAME" >> $GITHUB_OUTPUT
tmp=$(mktemp)
jq --arg version "$VERSION" '.version = $version' package.json > "$tmp" && mv "$tmp" package.json
echo $VERSION > .version
echo $VERSION > meta.version
- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -68,7 +68,7 @@ jobs:
with:
name: meta
retention-days: 1
path: .version
path: meta.version
beta:
runs-on: ubuntu-latest
needs: build
Expand All @@ -80,7 +80,7 @@ jobs:
id: set-version
run: |
set -x
echo "version=`cat meta/.version`" >> $GITHUB_OUTPUT
echo "version=`cat meta.version`" >> $GITHUB_OUTPUT
- name: Create Release
id: create-release
uses: softprops/action-gh-release@v2
Expand Down Expand Up @@ -139,8 +139,8 @@ jobs:
node-version: 20
- name: Create commit
run: |
VERSION=`cat .version`
NEXT_VERSION=`cat .version | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.`
VERSION=`cat meta.version`
NEXT_VERSION=`cat meta.version | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.`
tmp=$(mktemp)
git config --global user.name 'ProjectBot'
git config --global user.email '[email protected]'
Expand Down

0 comments on commit 221486a

Please sign in to comment.