Skip to content

Commit

Permalink
Update check-deps-versions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler authored Oct 15, 2024
1 parent 4bd7661 commit 5a04c22
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/check-deps-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
with:
ref: ${{ matrix.branch }}

- name: Extract date
id: vars
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV

- name: Check client version
run: |
version=$(curl -s https://api.github.com/repos/jumpserver/clients/releases/latest | jq -r .tag_name)
Expand Down Expand Up @@ -50,7 +54,7 @@ jobs:
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git checkout -b pr@${{ matrix.branch }}@upgrade_client
git checkout -b pr@${{ matrix.branch }}@upgrade_client_${DATE}
git add .
git commit -m "Update pkg versions"
git push origin pr@${{ matrix.branch }}@upgrade_client
git push origin

0 comments on commit 5a04c22

Please sign in to comment.