Remove ' from various places.

This commit is contained in:
Ivan Vasilov committed 2024-08-08 16:55:41 +02:00
1 parent 13069345fa
commit 5f5404b1e2
1 file changed
+6 -6
+6 -6
View File
@@ -164,29 +164,29 @@ jobs:
- name: Create a new branch
run: |
cd '${{ env.cli_repo }}'
git checkout '${{ env.cli_repo_main_branch }}'
cd ${{ env.cli_repo }}
git checkout ${{ env.cli_repo_main_branch }}
git checkout -b '${{ env.service_to_update }}/${{ needs.settings.outputs.image_version }}'
- name: Update file
run: |
cd '${{ env.cli_repo }}'
cd ${{ env.cli_repo }}
sed -i 's/${{ env.cli_repo_owner }}\/${{ env.service_to_update }}:.*/${{ env.cli_repo_owner }}\/${{ env.service_to_update }}:${{ needs.settings.outputs.image_version }}"/' pkg/config/constants.go
- name: Commit changes
run: |
cd '${{ env.cli_repo }}'
cd ${{ env.cli_repo }}
git add .
git commit -m "chore: Update ${{ env.service_to_update }} version to ${{ needs.settings.outputs.image_version }}"
- name: Push changes
run: |
cd '${{ env.cli_repo }}'
cd ${{ env.cli_repo }}
git push origin '${{ env.service_to_update }}/${{ needs.settings.outputs.image_version }}'
- name: Create Pull Request
run: |
cd '${{ env.cli_repo }}'
cd ${{ env.cli_repo }}
gh pr create --base '${{ env.cli_repo_main_branch }}' --title "${{ env.cli_repo_pr_title }} ${{ needs.settings.outputs.image_version }}" --body "Updates service ${{ env.service_to_update }} new version to ${{ needs.settings.outputs.image_version }}"
env:
GH_TOKEN: ${{ secrets.USER_ACCESS_TOKEN }}