Skip to content

Commit

Permalink
ci: Fix release job
Browse files Browse the repository at this point in the history
  • Loading branch information
debjitbis08 committed Nov 29, 2024
1 parent e741068 commit 4ed54fb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/update-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
with:
ssh-key: "${{ secrets.COMMIT_KEY }}"
fetch-depth: 0 # Fetch all history for tags and branches

- name: Set up SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.COMMIT_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan github.com >> ~/.ssh/known_hosts
- name: Update release branch
with:
ssh-key: "${{ secrets.COMMIT_KEY }}"
run: |
# Get the latest tag
LATEST_TAG=$(git describe --tags --abbrev=0)
Expand Down

0 comments on commit 4ed54fb

Please sign in to comment.