Skip to content

Commit

Permalink
release 1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Kern, Thomas committed Nov 7, 2024
1 parent 9e403f5 commit 1167b13
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
35 changes: 30 additions & 5 deletions .github/workflows/build_release_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,34 @@ jobs:
name: gitversion
path: version.txt

last-commits:
name: Get last commits
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: messages
run: |
git log $(git describe --tags --abbrev=0)..HEAD --oneline --pretty=format:%h\ %s%n%b%- > history.txt
- name: Upload history.txt
uses: actions/upload-artifact@v4
with:
name: history
path: history.txt

build-and-release-android:
runs-on: ubuntu-latest

steps:
- name: Download history.txt
uses: actions/download-artifact@v4
with:
name: history
- name: Install ninja build tools etc.
run: |
sudo apt-get update -y
Expand Down Expand Up @@ -75,7 +99,7 @@ jobs:
filename: mopicon-${{steps.read_action_js.outputs['version']}}-appbundle.zip
directory: build/app/outputs/bundle/release
- name: Android APK Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
#if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -85,12 +109,13 @@ jobs:
prerelease: ${{steps.read_action_js.outputs['mopicon_prerelease']}}
files: build/app/outputs/flutter-apk/mopicon-${{steps.read_action_js.outputs['version']}}-apk.zip
- name: Android App Bundle Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
#if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: Release ${{steps.read_action_js.outputs['version']}}
body_path: ${{ github.workspace }}-history.txt
tag_name: ${{steps.read_action_js.outputs['version']}}
prerelease: ${{steps.read_action_js.outputs['mopicon_prerelease']}}
files: build/app/outputs/bundle/release/mopicon-${{steps.read_action_js.outputs['version']}}-appbundle.zip
Expand Down Expand Up @@ -124,7 +149,7 @@ jobs:
filename: mopicon-${{steps.read_action_js.outputs['version']}}-windows-x64.zip
directory: build/windows/x64/runner/Release
- name: Windows Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
#if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -171,7 +196,7 @@ jobs:
filename: mopicon-${{steps.read_action_js.outputs['version']}}-ubuntu-20_04-x64.zip
directory: build/linux/x64/release/bundle
- name: Linux Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
#if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -218,7 +243,7 @@ jobs:
filename: mopicon-${{steps.read_action_js.outputs['version']}}-ubuntu-22_04-x64.zip
directory: build/linux/x64/release/bundle
- name: Linux Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
#if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.7+1
version: 1.0.8+1
mopicon_prerelease: false

homepage: https://github.com/nerk/mopicon
Expand Down

0 comments on commit 1167b13

Please sign in to comment.