Skip to content

Commit

Permalink
fix: uncomment rest of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Oct 31, 2024
1 parent 16d5416 commit ac14bf0
Showing 1 changed file with 25 additions and 30 deletions.
55 changes: 25 additions & 30 deletions .github/workflows/release-create-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,34 +52,29 @@ jobs:
with:
ref: ${{ env.ref }}
token: ${{ steps.generate-token.outputs.token }}

- name: Echo latest commit SHA
run: |
latest_commit_sha=$(git rev-parse HEAD)
echo "Latest commit SHA: $latest_commit_sha"

# - name: Setup git user
# uses: LedgerHQ/ledger-live/tools/actions/composites/setup-git-user@develop
# - name: create hotfix branch
# run: |
# git checkout -b hotfix
# - name: Setup the toolchain
# uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop
# - name: install dependencies
# run: pnpm i -F "ledger-live"
# - name: enter prerelease mode
# run: pnpm changeset pre enter hotfix
# - name: commit
# run: |
# git add .
# git commit -m "chore(hotfix) :rocket: entering hotfix mode"
# - name: Get date
# id: date
# run: |
# echo "date=$(date +%F)" >> $GITHUB_OUTPUT
# - name: push
# run: |
# git push origin hotfix
# gh pr create --title ":fire: Hotfix ${{ steps.date.outputs.date }}" -F ./.github/templates/hotfix.md --base main --head hotfix
# env:
# GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
- name: Setup git user
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-git-user@develop
- name: create hotfix branch
run: |
git checkout -b hotfix
- name: Setup the toolchain
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop
- name: install dependencies
run: pnpm i -F "ledger-live"
- name: enter prerelease mode
run: pnpm changeset pre enter hotfix
- name: commit
run: |
git add .
git commit -m "chore(hotfix) :rocket: entering hotfix mode"
- name: Get date
id: date
run: |
echo "date=$(date +%F)" >> $GITHUB_OUTPUT
- name: push
run: |
git push origin hotfix
gh pr create --title ":fire: Hotfix ${{ steps.date.outputs.date }}" -F ./.github/templates/hotfix.md --base main --head hotfix
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}

0 comments on commit ac14bf0

Please sign in to comment.