Skip to content

Commit

Permalink
Disable work for local branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-f committed Dec 16, 2024
1 parent dc711df commit 6d44caa
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ jobs:
strategy:
matrix:
include:
# - os: macos-latest
# platform: macos
# - os: windows-latest
# platform: windows
# - os: ubuntu-latest
# platform: android
# target: apk
# - os: ubuntu-latest
# platform: android
# target: aab
# - os: ubuntu-latest
# platform: linux
- os: macos-latest
platform: macos
- os: windows-latest
platform: windows
- os: ubuntu-latest
platform: android
target: apk
- os: ubuntu-latest
platform: android
target: aab
- os: ubuntu-latest
platform: linux
- os: macos-latest
platform: ios
runs-on: ${{ matrix.os }}
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Publish releases
on:
# Triggers the workflow on push when pushing to a version tag
push:
branches:
- jigar/ios-8.0.3
tags:
- '*lantern-*'
workflow_run:
Expand Down Expand Up @@ -69,7 +67,15 @@ jobs:
vf = 'version-android-dev.txt'
version = '9999.99.99-dev'
else:
a = ref.strip().replace('refs/tags/lantern-', '')
tag = ref.strip()
if tag.startswith('refs/tags/android-lantern-'):
a = tag.replace('refs/tags/android-lantern-', '')
elif tag.startswith('refs/tags/ios-lantern-'):
a = tag.replace('refs/tags/ios-lantern-', '')
elif tag.startswith('refs/tags/desktop-lantern-'):
a = tag.replace('refs/tags/desktop-lantern-', '')
else:
a = tag.replace('refs/tags/lantern-', '')
parts = a.split('-',1)
suffix = parts[1] if len(parts)>1 else ''
beta = 'beta' in suffix
Expand Down

0 comments on commit 6d44caa

Please sign in to comment.