Skip to content

Commit

Permalink
fix: streamline changelog reading and update release name formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterK0927 committed Feb 2, 2025
1 parent a0cf063 commit 0d8ee30
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,24 @@ jobs:
- name: List directory contents
run: ls -alh

- name: Read Changelog
id: read_changelog
run: |
changelog=$(cat CHANGELOG.md)
echo "changelog<<EOF" >> $GITHUB_ENV
echo "$changelog" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Upload CRX Artifact
uses: actions/upload-artifact@v4
with:
name: aiTabOrganiser-crx
path: aiTabOrganiser.crx

- name: Read Changelog
id: read_changelog
run: |
changelog=$(cat CHANGELOG.md)
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.ref }}
release_name: Release v${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

Expand Down

0 comments on commit 0d8ee30

Please sign in to comment.