File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
Sources/swift-release-notes Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 55 swift test
66
77install : build
8- install " $( shell swift build -c release --show-bin-path) /release-notes" /usr/local/bin/
8+ install " $( shell swift build -c release --show-bin-path) /swift- release-notes" /usr/local/bin/
Original file line number Diff line number Diff line change 44import PackageDescription
55
66let package = Package (
7- name: " spi -release-notes" ,
7+ name: " swift -release-notes" ,
88 platforms: [
99 . macOS( . v12)
1010 ] ,
@@ -21,7 +21,7 @@ let package = Package(
2121 ] ,
2222 targets: [
2323 . executableTarget(
24- name: " release-notes " ,
24+ name: " swift- release-notes" ,
2525 dependencies: [ " ReleaseNotesCore " ] ) ,
2626 . target(
2727 name: " ReleaseNotesCore " ,
Original file line number Diff line number Diff line change 1- # spi -release-notes
1+ # swift -release-notes
22
3- ` release-notes ` is a Swift script that creates a list of links to release notes for package updates.
3+ ` swift- release-notes` is a Swift script that creates a list of links to release notes for package updates.
44
5- Running ` release-notes ` performs a ` swift package update --dry-run ` to find package updates and creates release notes URLs for these updates:
5+ Running ` swift release-notes ` performs a ` swift package update --dry-run ` to find package updates and creates release notes URLs for these updates:
6+
7+ (Note that executables named with a ` swift- ` prefix can be called via ` swift ... ` , making them appear like ` swift ` subcommands.)
68
79```
8- $ release-notes ~/Projects/SPI/spi-server
10+ $ swift release-notes ~/Projects/SPI/spi-server
911
1012(... progress output removed)
1113
File renamed without changes.
You can’t perform that action at this time.
0 commit comments