Skip to content

Commit

Permalink
fix invalid version handling
Browse files Browse the repository at this point in the history
  • Loading branch information
fumito-ito committed Oct 27, 2024
1 parent 4f96dc3 commit 050bee8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish-to-cocoapods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ jobs:
pod trunk push --allow-warnings
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
RELEASE_VERSION: ${{ github.event.release.tag_name }}
5 changes: 1 addition & 4 deletions GRMustache.swift.podspec
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
version = ENV["RELEASE_VERSION"]
exit 1 if version.to_s.empty?

Pod::Spec.new do |s|
s.name = 'GRMustache.swift'
s.version = version
s.version = 5.0.1
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'Flexible Mustache templates for Swift.'
s.homepage = 'https://github.com/groue/GRMustache.swift'
Expand Down

0 comments on commit 050bee8

Please sign in to comment.