Skip to content

Commit

Permalink
change the owner and repo name in lega-commander.
Browse files Browse the repository at this point in the history
  • Loading branch information
Parisa68 committed Sep 25, 2024
1 parent 01c5d65 commit 44e0d30
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,23 @@ jobs:
run: sed -i "s#version = \".*\"#version = \"${{ steps.bump_lega_commander_version.outputs.new_lega_commander_version }}\"#" cli/lega-commander/build.gradle.kts


- name: Commit and Push Changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
BRANCH_NAME=${{ github.ref_name }}
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
for i in {1..3}; do
git pull https://${{ secrets.GITHUB_TOKEN }}@github.com/ELIXIR-NO/FEGA-Norway.git $BRANCH_NAME
git add -A
git commit -m "bump lega-commander version to ${{ steps.bump_lega_commander_version.outputs.new_lega_commander_version }}"
if git push https://${{ secrets.GITHUB_TOKEN }}@github.com/ELIXIR-NO/FEGA-Norway.git HEAD:refs/heads/$BRANCH_NAME; then
break
fi
sleep 5
done
- name: Create GitHub release
if: success()
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 44e0d30

Please sign in to comment.