Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: release action
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Jun 30, 2024
1 parent e97b3df commit ea8c767
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,13 @@ jobs:
- name: switch to new branch
run: git checkout release-from-${{ github.sha }}

# update app config with version
- name: get-npm-version
id: package-version
run: |
LF_VERSION=$(cat package.json | jq -r '.version')
echo "current-version=$LF_VERSION" >> "$GITHUB_OUTPUT"
- name: update app config
run: sed -i 's/0.0.0/${{ steps.package-version.outputs.current-version}}/g' config/app.json

# create release info and push it upstream
- name: conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version-file: "./package.json,./package-lock.json,./config/app.json"
version-file: "./package.json,./package-lock.json"
git-branch: "release-from-${{ github.sha }}"
skip-git-pull: true

Expand Down

0 comments on commit ea8c767

Please sign in to comment.