Skip to content

Commit

Permalink
Fixing release step
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimkhan30 committed Aug 11, 2024
1 parent c00f4dc commit 7b5499c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ on:
permissions:
contents: write
actions: read
checks: write
deployments: write
packages: write

jobs:
create_release:
Expand Down Expand Up @@ -67,7 +64,7 @@ jobs:
git config --global user.name "github-actions[bot]"
cd ./release
git add .
CHANGED_FILES=$(git diff-index --quiet HEAD)
CHANGED_FILES=$(git diff-index HEAD)
if [ -n "$CHANGED_FILES" ]; then
echo "Pushing with message: Release v${{ env.version }}"
git commit -m "Release v${{ env.version }}"
Expand Down

0 comments on commit 7b5499c

Please sign in to comment.