Skip to content

Commit

Permalink
Revert "Prepare for publishing Package.swift"
Browse files Browse the repository at this point in the history
This reverts commit b9d7c25.
Swift packages will be published to the BlueskyAPI repo instead.
  • Loading branch information
christiandeange committed Apr 15, 2024
1 parent c6a648c commit 7423360
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 62 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
.DS_Store
/.build/
xcuserdata/
Package.swift

### Project ###
/docs
24 changes: 0 additions & 24 deletions Package.swift

This file was deleted.

11 changes: 0 additions & 11 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,7 @@ CURRENT_RELEASE="$(awk -F\" '/sh.christian.ozone:bluesky/ { print $4 }' < gradle
sed -i '' "s/$CURRENT_RELEASE/$NEXT_RELEASE/g" gradle/libs.versions.toml
sed -i '' "s/$CURRENT_RELEASE/$NEXT_RELEASE/g" README.md

./gradlew clean :bluesky:zipXCFramework

CHECKSUM="$(swift package compute-checksum bluesky/build/faktory/zip/frameworkarchive.zip)"
cp templates/Package.swift .
sed -i '' "s/{version}/$NEXT_RELEASE/g" Package.swift
sed -i '' "s/{checksum}/$CHECKSUM/g" Package.swift

git add README.md
git add Package.swift
git add $properties_files
git add gradle/libs.versions.toml

Expand All @@ -49,8 +41,5 @@ for file in $properties_files; do
sed -i '' "s/$NEXT_RELEASE/$NEXT_SNAPSHOT_VERSION-SNAPSHOT/g" "$file"
done

git checkout HEAD~1 -- Package.swift

git add Package.swift
git add $properties_files
git commit -m "Prepare next development cycle."
27 changes: 0 additions & 27 deletions templates/Package.swift

This file was deleted.

0 comments on commit 7423360

Please sign in to comment.