Skip to content

Commit 9ff754c

Browse files
committed
[cd] More prerelease prep
1 parent d2a9021 commit 9ff754c

File tree

5 files changed

+22
-14
lines changed

5 files changed

+22
-14
lines changed

.github/jazzy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ custom_categories:
77
- Thenable
88
- CatchMixin
99
- Resolver
10-
xcodebuild_arguments:
11-
- UseModernBuildSystem=NO
1210
output:
1311
../output
1412
# output directory is relative to config file… ugh

.github/workflows/cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ on:
44
inputs:
55
version:
66
required: true
7+
pods:
8+
required: false
79
jobs:
810
pods:
11+
if: ${{ github.event.inputs.pods != 'false' }}
912
runs-on: macos-latest
1013
steps:
1114

.github/workflows/publish.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,7 @@ jobs:
4040
- uses: actions/checkout@v2
4141
- uses: softprops/action-gh-release@v1
4242
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
GITHUB_TOKEN: ${{ secrets.JAZZY_PAT }}
4444
with:
4545
tag_name: ${{ github.event.inputs.version }}
4646
name: ${{ github.event.inputs.version }}
47-
48-
cd:
49-
needs: create-release
50-
runs-on: ubuntu-latest
51-
steps:
52-
- uses: aurelien-baudet/workflow-dispatch@v2
53-
with:
54-
workflow: CD
55-
token: ${{ secrets.JAZZY_PAT }}
56-
inputs: "{\"version\": \"${{ github.event.inputs.version }}\"}"
57-
wait-for-completion: false

.github/workflows/trigger-cd.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
on:
2+
release:
3+
types: published
4+
jobs:
5+
cd:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: aurelien-baudet/workflow-dispatch@v2
9+
with:
10+
workflow: CD
11+
token: ${{ secrets.JAZZY_PAT }}
12+
inputs: "{\"version\": \"${{ github.event.release.tag_name }}\"}"
13+
wait-for-completion: false

Documents/Installation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Installing PromiseKit
2+
13
We support [SwiftPM]:
24

35
```swift
@@ -16,6 +18,9 @@ package.targets.append(
1618

1719
And CocoaPods:
1820

21+
> Please note, we have not released this CocoaPod yet. You *can* still use it
22+
> but you will need to specify the podspec URL manually, see the Cocoapods docs.
23+
1924
```ruby
2025
pod "PromiseKit", "~> 7.0.0-rc1"
2126
pod "PromiseKit/Foundation", "~> 7.0.0-rc1"

0 commit comments

Comments
 (0)