Skip to content

Commit

Permalink
For testing - Commit to be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
carine-bonnafous committed Jun 14, 2024
1 parent 558b418 commit 052ea88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
# See https://github.com/peter-evans/create-pull-request/blob/main/docs/examples.md#keep-a-branch-up-to-date-with-another
- name: Fetch develop branch
run: |
git fetch origin develop:develop
git reset --hard develop
git fetch origin devx/dex-889-update-cicd-pipeline:devx/dex-889-update-cicd-pipeline
git reset --hard devx/dex-889-update-cicd-pipeline
- name: Create release draft
uses: release-drafter/release-drafter@v6
Expand All @@ -37,6 +37,8 @@ jobs:

- name: Update files with release version
run: |
ls -la
ls -la ./scripts
./scripts/update-files-with-release-version.sh ${{ steps.release-drafter.outputs.tag_name }}
- name: Create Pull Request
Expand Down
4 changes: 2 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ tasks:
- gh-cli
desc: Create a release pull request
cmds:
- gh workflow run release-pull-request.yml
- gh workflow run release-pull-request.yml --ref devx/dex-889-update-cicd-pipeline
- cmd: sleep 2
silent: true
- cmd: echo "Release pull request created, check out https://github.com/alma/{{.REPOSITORY}}/pulls?q=is%3Aopen+is%3Apr+label%3Arelease"
Expand All @@ -137,7 +137,7 @@ tasks:
⚠️ This task requires a changelog message.
Please provide a changelog message. Example: `task hotfix CHANGELOG_MESSAGE='This is a message'`.
cmds:
- gh workflow run hotfix-pull-request.yml -F changelog-message='{{.CHANGELOG_MESSAGE}}'
- gh workflow run hotfix-pull-request.yml -F changelog-message='{{.CHANGELOG_MESSAGE}}' --ref devx/dex-889-update-cicd-pipeline
- cmd: sleep 2
silent: true
- cmd: echo "Hotfix pull request created, check out https://github.com/alma/{{.REPOSITORY}}/pulls?q=is%3Aopen+is%3Apr+label%3Ahotfix"
Expand Down

0 comments on commit 052ea88

Please sign in to comment.