Skip to content

Commit 050bee8

Browse files
committed
fix invalid version handling
1 parent 4f96dc3 commit 050bee8

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/publish-to-cocoapods.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ jobs:
2323
pod trunk push --allow-warnings
2424
env:
2525
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
26-
RELEASE_VERSION: ${{ github.event.release.tag_name }}

GRMustache.swift.podspec

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
version = ENV["RELEASE_VERSION"]
2-
exit 1 if version.to_s.empty?
3-
41
Pod::Spec.new do |s|
52
s.name = 'GRMustache.swift'
6-
s.version = version
3+
s.version = 5.0.1
74
s.license = { :type => 'MIT', :file => 'LICENSE' }
85
s.summary = 'Flexible Mustache templates for Swift.'
96
s.homepage = 'https://github.com/groue/GRMustache.swift'

0 commit comments

Comments
 (0)