Skip to content

Commit 9ba4f78

Browse files
authored
Merge pull request #47 from getyourguide/fix-lint-config-2
pin spmgraph to a revision in the config
2 parents 17256ea + 23e751c commit 9ba4f78

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

RELEASE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Release process
22

33
Once the main branch has the fixes and features that should be shipped:
4-
1. Start the [release workflow](https://github.com/getyourguide/spmgraph/actions/workflows/release.yml)
4+
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
5+
2. Start the [release workflow](https://github.com/getyourguide/spmgraph/actions/workflows/release.yml)
56
- Fill in the `updateType` argument, which follows [semver](https://semver.org/)
6-
2. Sit and wait 🙃! The automation will
7+
3. Sit and wait 🙃! The automation will
78
- Bump the version following the update type
89
- Create a new tag and release
910
- Auto-generate release notes

Sources/SPMGraphConfigSetup/Resources/Package.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ let package = Package(
1717
),
1818
],
1919
dependencies: [
20-
// From `1.0.0` so that it always automatically picks and uses the latest release
21-
// When developing it should be updated to the working branch
20+
// Pinned to the latest commit of the release, otherwise it fails because it depends
21+
// on the `swift-package-manager` that isn't a stable release.
22+
//
23+
// - Note: When developing it should be updated to the working branch
2224
.package(
2325
url: "https://github.com/getyourguide/spmgraph.git",
24-
from: "1.0.0"
26+
revision: "17256eaab5d1233bc21e174393bf0ee518287fa9"
2527
),
2628
// - Pinned to the the Swift 6.2 development / Xcode 16.3
2729
// It auto exports SwiftToolsSupport, so no need to directly depend it 🙏

0 commit comments

Comments
 (0)