replace generated release notes with pre-built assets

This commit is contained in:
Vadim 2024-05-21 21:32:14 +02:00
parent 8c016e548b
commit 4c34842597
3 changed files with 11 additions and 35 deletions

View file

@ -18,10 +18,6 @@ on:
description: "Version" description: "Version"
required: true required: true
type: string type: string
release-notes:
description: "Release notes"
required: true
type: string
run-integration-tests: run-integration-tests:
description: "Run integration tests" description: "Run integration tests"
required: true required: true
@ -60,25 +56,9 @@ jobs:
stage-backend: false stage-backend: false
version: ${{ inputs.version }} version: ${{ inputs.version }}
generate-release-notes:
name: Generate release notes
needs: [build-android, build-ios]
runs-on: ubuntu-latest
steps:
- name: Generate release notes
run: |
echo ${{ inputs.release-notes }} > whatsnew-en-US.md
perl -i -pe 's/\s{1}(-{1})/\n$1/g' whatsnew-en-US.md
- name: Upload merged_native_libs.zip to artifacts
uses: actions/upload-artifact@v3
with:
name: whatsnew-en-US
path: whatsnew-en-US.md
create-github-release: create-github-release:
name: Create Github release name: Create Github release
needs: [generate-release-notes] needs: [build-android, build-ios]
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
@ -112,21 +92,16 @@ jobs:
- name: Rename apk - name: Rename apk
run: mv app-prod-release.apk m3_lightmeter.apk run: mv app-prod-release.apk m3_lightmeter.apk
- name: Download release notes
uses: actions/download-artifact@v3
with:
name: whatsnew-en-US
- uses: ncipollo/release-action@v1.12.0 - uses: ncipollo/release-action@v1.12.0
with: with:
artifacts: "m3_lightmeter.apk" artifacts: "m3_lightmeter.apk"
skipIfReleaseExists: true skipIfReleaseExists: true
tag: "v${{ github.event.inputs.version }}" tag: "v${{ github.event.inputs.version }}"
bodyFile: "whatsnew-en-US.md" bodyFile: "assets/release_notes/release_notes_en.md"
create-google-play-release: create-google-play-release:
name: Create Google Play release name: Create Google Play release
needs: [generate-release-notes] needs: [build-android, build-ios]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -143,14 +118,9 @@ jobs:
unzip app-prod-release.aab unzip app-prod-release.aab
(cd base/lib && zip -r "$OLDPWD/merged_native_libs.zip" .) (cd base/lib && zip -r "$OLDPWD/merged_native_libs.zip" .)
- name: Download release notes
uses: actions/download-artifact@v3
with:
name: whatsnew-en-US
- name: Move release notes to a folder - name: Move release notes to a folder
run: | run: |
mv whatsnew-en-US.md whatsnew-en-US mv assets/release_notes/release_notes_en.md whatsnew-en-US
mkdir whatsnew mkdir whatsnew
mv whatsnew-en-US whatsnew mv whatsnew-en-US whatsnew
@ -177,7 +147,7 @@ jobs:
upload-to-app-store: upload-to-app-store:
name: Upload to App Store name: Upload to App Store
needs: [generate-release-notes] needs: [build-android, build-ios]
runs-on: macos-13 runs-on: macos-13
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View file

@ -0,0 +1,3 @@
- [Pro] Added a timer for shooting long exposures without leaving the app, just tap the necessary shutter speed in the list.
- Long exposure values are no longer limited by 1" and are generated to match the list of aperture values.
- Refined the app's color palette & unified icons across the app.

View file

@ -0,0 +1,3 @@
- [Pro] Добавлен таймер для удобства съёмки при длительных выдержках. Достаточно просто нажать на нужное значение в списке экспозиционных пар.
- Длинные выдержки больше не ограничены 1" и генерируются в соответствии со значениями диафрагмы.
- Переработана цветовая палитра приложения и унифицированы иконки.