Skip to content

Commit

Permalink
quick fix for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zain-sohail committed Nov 21, 2023
1 parent 7982ed4 commit 2591f97
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,26 +144,23 @@ jobs:
- uses: actions/checkout@v3
with:
lfs: true
path: 'sed-processor'
token: ${{ steps.generate_token.outputs.token }}

- name: Download pyproject.toml
uses: actions/download-artifact@v3
with:
name: pyproject
path: sed-processor

- name: Commit files
run: |
cd sed-processor
cd sed/
git config --local user.email "bump[bot]@users.noreply.github.com"
git config --local user.name "bump[bot]"
git add sed-processor/pyproject.toml
git add $GITHUB_WORKSPACE/pyproject.toml
git commit -m "bump version to ${{ needs.publish.outputs.version }}"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ steps.generate_token.outputs.token }}
branch: main
directory: sed-processor

0 comments on commit 2591f97

Please sign in to comment.