diff --git a/RELEASE.md b/RELEASE.md index 65d7ecd..e12043c 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,9 +1,10 @@ # Release process Once the main branch has the fixes and features that should be shipped: -1. Start the [release workflow](https://github.com/getyourguide/spmgraph/actions/workflows/release.yml) +1. Update `Sources/SPMGraphConfigSetup/Resources/Package.txt` by setting the `spmgraph` revision to the latest commit on main that should be part of the release +2. Start the [release workflow](https://github.com/getyourguide/spmgraph/actions/workflows/release.yml) - Fill in the `updateType` argument, which follows [semver](https://semver.org/) -2. Sit and wait 🙃! The automation will +3. Sit and wait 🙃! The automation will - Bump the version following the update type - Create a new tag and release - Auto-generate release notes diff --git a/Sources/SPMGraphConfigSetup/Resources/Package.txt b/Sources/SPMGraphConfigSetup/Resources/Package.txt index c2a7273..7c353f1 100644 --- a/Sources/SPMGraphConfigSetup/Resources/Package.txt +++ b/Sources/SPMGraphConfigSetup/Resources/Package.txt @@ -17,11 +17,13 @@ let package = Package( ), ], dependencies: [ - // From `1.0.0` so that it always automatically picks and uses the latest release - // When developing it should be updated to the working branch + // Pinned to the latest commit of the release, otherwise it fails because it depends + // on the `swift-package-manager` that isn't a stable release. + // + // - Note: When developing it should be updated to the working branch .package( url: "https://github.com/getyourguide/spmgraph.git", - from: "1.0.0" + revision: "17256eaab5d1233bc21e174393bf0ee518287fa9" ), // - Pinned to the the Swift 6.2 development / Xcode 16.3 // It auto exports SwiftToolsSupport, so no need to directly depend it 🙏