You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve release workflow safety: update README only after JitPack success
- Move README version update to happen after JitPack confirms build success
- Prevents README showing versions that don't exist on JitPack
- If JitPack fails, README keeps previous working version
- README update is now a separate commit after release tag
- Ensures users never see broken dependency instructions
Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -82,17 +82,14 @@ jobs:
82
82
sed -i "s/<dynamodb-toolkit.version>.*<\/dynamodb-toolkit.version>/<dynamodb-toolkit.version>$NEW_VERSION<\/dynamodb-toolkit.version>/" pom.xml
83
83
sed -i "s/<dynamodb-toolkit.version>.*<\/dynamodb-toolkit.version>/<dynamodb-toolkit.version>$NEW_VERSION<\/dynamodb-toolkit.version>/" integration-tests/pom.xml
84
84
85
-
# Update version in README.md
86
-
sed -i "s/<version>v[^<]*<\/version>/<version>v$NEW_VERSION<\/version>/" README.md
0 commit comments