Skip to content

Commit

Permalink
Fix publish-spm to commit updated BitcoinDevKit.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Nov 16, 2022
1 parent 95a36bc commit e017d76
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/publish-spm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: Build, tag and create release
on:
workflow_dispatch:
inputs:
branch:
description: 'Release branch, eg. release/0.MINOR'
required: true
type: string
version:
description: 'New release version, eg. 0.MINOR.PATCH'
required: true
Expand All @@ -19,7 +15,6 @@ jobs:
- name: Checkout release branch
uses: actions/checkout@v2
with:
ref: ${{ inputs.branch }}
submodules: true

- name: Cache
Expand Down Expand Up @@ -98,8 +93,9 @@ jobs:
echo checksum = ${{ env.BDKFFICHECKSUM }}
echo url = ${{ env.BDKFFIURL }}
sed "s/BDKFFICHECKSUM/${BDKFFICHECKSUM}/;s/BDKFFIURL/${BDKFFIURL}/" Package.swift.txt > Package.swift
git add Sources/BitcoinDevKit/BitcoinDevKit.swift
git add Package.swift
git commit -m "Update Package.swift for release ${{ inputs.version }}"
git commit -m "Update BitcoinDevKit.swift and Package.swift for release ${{ inputs.version }}"
git push
- name: Tag new release
Expand Down

0 comments on commit e017d76

Please sign in to comment.