Skip to content

Commit

Permalink
Cleanup release workflow by removing commented-out steps and unnecess…
Browse files Browse the repository at this point in the history
…ary whitespace
  • Loading branch information
zoocityboy committed Jan 2, 2025
1 parent 745524a commit d18b6ec
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3


- name: Generate Changelog
id: changelog
uses: TriPSs/conventional-changelog-action@v3
Expand All @@ -40,29 +38,9 @@ jobs:
NEW_VERSION=${{ github.event.inputs.version }}
sed -i "s/^version: .*/version: $NEW_VERSION/" pubspec.yaml
# - name: Commit Changes
# run: |
# git add pubspec.yaml CHANGELOG.md
# git commit -m "chore(release): prepare release ${{ github.event.inputs.version }}"

- uses: avakar/tag-and-release@v1
with:
tag_name: v${{ github.event.inputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Push Changes
run: |
git push
git push --tags
# - name: Create Release
# uses: softprops/action-gh-release@v1
# with:
# tag_name: v${{ github.event.inputs.version }}
# name: Release v${{ github.event.inputs.version }}
# body: ${{ steps.changelog.outputs.clean_changelog }}
# draft: false
# prerelease: false
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d18b6ec

Please sign in to comment.