Skip to content

Commit 7c2debe

Browse files
try: fixed workflow; check versionCode==11100
1 parent 2f3677e commit 7c2debe

File tree

2 files changed

+59
-59
lines changed

2 files changed

+59
-59
lines changed

.github/workflows/main.yml

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158

159159
- uses: subosito/flutter-action@v2
160160
with:
161-
flutter-version: '3.29.2'
161+
flutter-version: '3.32.5'
162162
channel: 'stable'
163163
architecture: x64
164164

@@ -219,7 +219,7 @@ jobs:
219219

220220
- uses: subosito/flutter-action@v2
221221
with:
222-
flutter-version: '3.29.2'
222+
flutter-version: '3.32.5'
223223
channel: 'stable'
224224
architecture: x64
225225

@@ -247,59 +247,59 @@ jobs:
247247
path: build/ios/iphoneos/SysAdmin-v${{ needs.version.outputs.version }}.ipa
248248

249249
# Release job (runs after both builds complete)
250-
release:
251-
name: Create Release
252-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
253-
needs: [version, build-android, build-ios]
254-
runs-on: ubuntu-latest
255-
steps:
256-
- uses: actions/checkout@v4
257-
with:
258-
fetch-depth: 0
259-
fetch-tags: true
260-
token: ${{ secrets.TOKEN }}
261-
262-
# Download all artifacts
263-
- name: Download Android Artifacts
264-
uses: actions/download-artifact@v4
265-
with:
266-
name: android-apks
267-
path: android-artifacts
268-
269-
- name: Download iOS Artifacts
270-
uses: actions/download-artifact@v4
271-
with:
272-
name: ios-ipa
273-
path: ios-artifacts
274-
275-
# Create Tag if it doesn't exist
276-
- name: Create Tag
277-
run: |
278-
if ! git rev-parse ${{ needs.version.outputs.tag }} >/dev/null 2>&1; then
279-
git config --local user.email "action@github.com"
280-
git config --local user.name "GitHub Action"
281-
git tag ${{ needs.version.outputs.tag }}
282-
git push origin ${{ needs.version.outputs.tag }}
283-
echo "Created new tag: ${{ needs.version.outputs.tag }}"
284-
else
285-
echo "Tag ${{ needs.version.outputs.tag }} already exists, skipping tag creation"
286-
fi
287-
288-
# Create Release
289-
- name: Create GitHub Release
290-
uses: ncipollo/release-action@v1
291-
with:
292-
artifacts: |
293-
android-artifacts/SysAdmin-v${{ needs.version.outputs.version }}-armeabi-v7a.apk
294-
android-artifacts/SysAdmin-v${{ needs.version.outputs.version }}-arm64-v8a.apk
295-
android-artifacts/SysAdmin-v${{ needs.version.outputs.version }}-x86_64.apk
296-
ios-artifacts/SysAdmin-v${{ needs.version.outputs.version }}.ipa
297-
token: ${{ secrets.TOKEN }}
298-
tag: ${{ needs.version.outputs.tag }}
299-
name: Release ${{ needs.version.outputs.tag }}
300-
body: |
301-
# Release ${{ needs.version.outputs.tag }}
302-
${{ github.event.head_commit.message }}
303-
#### Full Changelog: [${{ needs.version.outputs.prev_tag }}...${{ needs.version.outputs.tag }}](https://github.com/${{ github.repository }}/compare/${{ needs.version.outputs.prev_tag }}...${{ needs.version.outputs.tag }})
304-
draft: false
305-
prerelease: false
250+
# release:
251+
# name: Create Release
252+
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
253+
# needs: [version, build-android, build-ios]
254+
# runs-on: ubuntu-latest
255+
# steps:
256+
# - uses: actions/checkout@v4
257+
# with:
258+
# fetch-depth: 0
259+
# fetch-tags: true
260+
# token: ${{ secrets.TOKEN }}
261+
262+
# # Download all artifacts
263+
# - name: Download Android Artifacts
264+
# uses: actions/download-artifact@v4
265+
# with:
266+
# name: android-apks
267+
# path: android-artifacts
268+
269+
# - name: Download iOS Artifacts
270+
# uses: actions/download-artifact@v4
271+
# with:
272+
# name: ios-ipa
273+
# path: ios-artifacts
274+
275+
# # Create Tag if it doesn't exist
276+
# - name: Create Tag
277+
# run: |
278+
# if ! git rev-parse ${{ needs.version.outputs.tag }} >/dev/null 2>&1; then
279+
# git config --local user.email "action@github.com"
280+
# git config --local user.name "GitHub Action"
281+
# git tag ${{ needs.version.outputs.tag }}
282+
# git push origin ${{ needs.version.outputs.tag }}
283+
# echo "Created new tag: ${{ needs.version.outputs.tag }}"
284+
# else
285+
# echo "Tag ${{ needs.version.outputs.tag }} already exists, skipping tag creation"
286+
# fi
287+
288+
# # Create Release
289+
# - name: Create GitHub Release
290+
# uses: ncipollo/release-action@v1
291+
# with:
292+
# artifacts: |
293+
# android-artifacts/SysAdmin-v${{ needs.version.outputs.version }}-armeabi-v7a.apk
294+
# android-artifacts/SysAdmin-v${{ needs.version.outputs.version }}-arm64-v8a.apk
295+
# android-artifacts/SysAdmin-v${{ needs.version.outputs.version }}-x86_64.apk
296+
# ios-artifacts/SysAdmin-v${{ needs.version.outputs.version }}.ipa
297+
# token: ${{ secrets.TOKEN }}
298+
# tag: ${{ needs.version.outputs.tag }}
299+
# name: Release ${{ needs.version.outputs.tag }}
300+
# body: |
301+
# # Release ${{ needs.version.outputs.tag }}
302+
# ${{ github.event.head_commit.message }}
303+
# #### Full Changelog: [${{ needs.version.outputs.prev_tag }}...${{ needs.version.outputs.tag }}](https://github.com/${{ github.repository }}/compare/${{ needs.version.outputs.prev_tag }}...${{ needs.version.outputs.tag }})
304+
# draft: false
305+
# prerelease: false

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Building GUI for the Linux System Administrator"
44
# pub.dev using `flutter pub publish`. This is preferred for private packages.
55
publish_to: "none" # Remove this line if you wish to publish to pub.dev
66

7-
version: 1.1.0+11000
7+
version: 1.1.1+11100
88

99
environment:
1010
sdk: ^3.5.3

0 commit comments

Comments
 (0)