-
-
Notifications
You must be signed in to change notification settings - Fork 328
39 lines (34 loc) · 981 Bytes
/
release.yml
File metadata and controls
39 lines (34 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Create New Release
on:
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Compile Feather
run: |
agvtool new-version -all $(git rev-parse HEAD)
make
mkdir upload
mv packages/* upload/
- name: Get Version
id: get_version
run: |
VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" Payload/*.app/Info.plist)
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: Feather v${{ env.VERSION }}
tag_name: v${{ env.VERSION }}
files: |
upload/*ipa
generate_release_notes: true
fail_on_unmatched_files: true
draft: true
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}