Skip to content

Commit b3903a6

Browse files
add tag prefix
1 parent 931de8b commit b3903a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/staging.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
- run: echo ${{steps.tag.outputs.tag}}
5656

5757
- run: |
58-
git describe --tags
5958
git describe --tags --match='v*'
6059
echo $KEYSTORE | base64 -d -i > /tmp/my-release-key.keystore
6160
echo $SA_JSON_KEY | base64 -d -i > key_firebase.json

fastlane/Fastfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ platform :android do
33
before_all do |lane, options|
44
ENV["APP_FLAVOR"] = options[:flavor]
55
ENV["PROJECT_DIR"] = "./"
6+
tag_prefix = 'v*'
67
puts "Flavor environment #{options[:flavor]}"
78
end
89
def on_error(exception)
@@ -42,7 +43,7 @@ platform :android do
4243

4344
semver = ENV["SEMVER"]
4445
if semver
45-
isReleasable = analyze_commits(match: 'v*')
46+
isReleasable = analyze_commits(match: tag_prefix)
4647
tag = "#{lane_context[SharedValues::RELEASE_NEXT_VERSION]}-#{ENV["FLAVOR_TYPE"]}"
4748
puts "RELEASE_NEXT_VERSION #{lane_context[SharedValues::RELEASE_NEXT_VERSION]}-#{ENV["FLAVOR_TYPE"]}"
4849

0 commit comments

Comments
 (0)