Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,20 @@ jobs:

# Fetch the Package.swift for this version.
curl -sS "https://ios-releases.fullstory.com/fullstory-${version}-xcframework-Package.swift" > Package.swift

# extract the license file
url=$(sed -n -E 's/[[:space:]]*url: "([^"]+)",/\1/p' Package.swift)
echo "Downloading $url to update LICENSE.md"
curl -sS $url > /tmp/fullstory.zip
echo "Extracting ACKNOWLEDGEMENTS.md"
pushd /tmp
unzip fullstory.zip FullStory.xcframework/ACKNOWLEDGEMENTS.md
popd
mv /tmp/FullStory.xcframework/ACKNOWLEDGEMENTS.md LICENSE.md

# Commit the changes, tag them, push it all
git config user.email "[email protected]"
git config user.name "GitHub Actions"
git commit -am "Update package for ${version} release"
git tag $version
git push --tags origin master
git push --tags origin master
Loading