Skip to content

Commit 10716d1

Browse files
authored
Merge pull request #70 from lightningdevkit/2022-07-tag-push-optimization
Split commit push and tag push operations in release procedure.
2 parents f21eada + fe01125 commit 10716d1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release-framework.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,13 @@ jobs:
4545
CHECKSUM=`swift package compute-checksum LightningDevKit.xcframework.zip`
4646
python3 ./src/scripts/update_swift_package_checksum.py --checksum "${CHECKSUM}"
4747
git commit -m "Update Package.swift for ${{ github.event.inputs.tag }} release." ./Package.swift
48+
- name: Push and tag commit
49+
if: ${{ github.event.inputs.tag != null && github.event.inputs.tag != '' }}
50+
run: |
4851
git tag ${{ github.event.inputs.tag }}
49-
git push origin HEAD:main --tags
52+
git push origin HEAD:main
53+
git push origin --tags
54+
5055
release:
5156
name: Publish Release
5257
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)