Skip to content

Commit

Permalink
chore(frame-events): updating workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SirPhemmiey committed Jul 9, 2024
1 parent 94e0fbc commit ebc3c17
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,6 @@ jobs:
echo -e "trust\n5\ny\n" | gpg --command-fd 0 --batch --edit-key $KEY_ID
shell: bash

- name: Bump version
id: version
run: |
# Bump version using yarn version
yarn version --patch
# Verify changes
git status
cat package.json
# Extract the new version
echo "NEW_VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV
shell: bash

# - name: Push changes and tags
# run: |
# git commit -am "Bump version to ${{ env.NEW_VERSION }}"
Expand Down Expand Up @@ -126,9 +112,18 @@ jobs:
- name: Build package
run: yarn build

- name: Another Step
- name: Bump version
id: version
run: |
echo "The new version is ${{ env.NEW_VERSION }}"
# Bump version using yarn version
yarn version --patch
# Verify changes
git status
cat package.json
# Extract the new version
echo "NEW_VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV
shell: bash

- name: Publish package
Expand Down

0 comments on commit ebc3c17

Please sign in to comment.