mirror of
https://github.com/Jellify-Music/App.git
synced 2026-02-09 12:08:31 -06:00
Merge branch '9-implement-playlist-crud' of github.com:anultravioletaurora/Jellify into 9-implement-playlist-crud
This commit is contained in:
28
.github/workflows/build-ios.yml
vendored
Normal file
28
.github/workflows/build-ios.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: build-ios
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- "main"
|
||||
jobs:
|
||||
build-ios:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Echo package.json version to Github ENV
|
||||
run: echo VERISON_NUMBER=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV
|
||||
|
||||
- run: npm run init
|
||||
|
||||
- run: fastlane build
|
||||
working-directory: ./ios
|
||||
env:
|
||||
# FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
|
||||
APPSTORE_CONNECT_API_KEY_JSON: ${{ secrets.APPSTORE_CONNECT_API_KEY_JSON }}
|
||||
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}
|
||||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
|
||||
MATCH_REPO_PAT: "anultravioletaurora:${{ secrets.SIGNING_REPO_PAT }}"
|
||||
@@ -15,15 +15,12 @@ jobs:
|
||||
node-version: 20
|
||||
|
||||
- name: Echo package.json version to Github ENV
|
||||
run: echo BUILD_NUMBER=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV
|
||||
run: echo VERISON_NUMBER=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV
|
||||
|
||||
- run: npm run init
|
||||
|
||||
- name: Output App Store Connect API Key JSON to Fastlane
|
||||
run: echo "${{ secrets.APPSTORE_CONNECT_API_KEY_JSON }}" > appstore_connect_api_key.json
|
||||
working-directory: ./ios/fastlane
|
||||
|
||||
- run: cat appstore_connect_api_key.json
|
||||
run: echo -e '${{ secrets.APPSTORE_CONNECT_API_KEY_JSON }}' > appstore_connect_api_key.json
|
||||
working-directory: ./ios/fastlane
|
||||
|
||||
- run: fastlane beta
|
||||
@@ -20,7 +20,7 @@ platform :ios do
|
||||
|
||||
lane :build do
|
||||
match(
|
||||
type: "development",
|
||||
type: "appstore",
|
||||
app_identifier: "com.cosmonautical.jellify",
|
||||
readonly: true
|
||||
)
|
||||
@@ -37,8 +37,13 @@ platform :ios do
|
||||
app_identifier: "com.cosmonautical.jellify",
|
||||
readonly: true
|
||||
)
|
||||
|
||||
increment_version_number(
|
||||
version_number: ENV['VERISON_NUMBER'],
|
||||
xcodeproj: "Jellify.xcodeproj"
|
||||
)
|
||||
|
||||
increment_build_number(
|
||||
build_number: ENV['BUILD_NUMBER'],
|
||||
xcodeproj: "Jellify.xcodeproj"
|
||||
)
|
||||
build_app(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "jellify",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.7",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"init": "npm i && npm run pod:install",
|
||||
|
||||
Reference in New Issue
Block a user