Skip to content

Commit

Permalink
fix trial
Browse files Browse the repository at this point in the history
  • Loading branch information
f-peverali committed Oct 4, 2024
1 parent 27140b6 commit 4c8f62e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ToolUpdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ jobs:
LATEST_VERSION=$(curl -s https://api.github.com/repos/FirelyTeam/firely-terminal-pipeline/releases/latest | jq -r .tag_name)
echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
- name: Update PR template version
run: |
# Update the version in PR_Template_VersionUpgrade.md
sed -i "s/Version:.*/Version: $LATEST_VERSION/" .github/PULL_REQUEST_TEMPLATE/PR_Template_VersionUpgrade.md
- name: Update main.yml
run: |
# Update the main.yml file with the new version
Expand All @@ -45,7 +40,7 @@ jobs:
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git checkout -b update-dependency-$LATEST_VERSION || git checkout update-dependency-$LATEST_VERSION
git add .github/PULL_REQUEST_TEMPLATE/PR_Template_VersionUpgrade.md .github/workflows/main.yml
git add .github/workflows/main.yml
git commit -m "Update dependency to version $LATEST_VERSION"
git push https://x-access-token:${WORKFLOW_PERMISSION_GITHUB}@github.com/${{ github.repository }}.git update-dependency-$LATEST_VERSION
Expand Down

0 comments on commit 4c8f62e

Please sign in to comment.