Skip to content

Commit

Permalink
ci(publish): unify release tag between Swift Package Manager and Coco…
Browse files Browse the repository at this point in the history
…aPods
  • Loading branch information
guhungry committed Aug 21, 2024
1 parent 032591a commit 03db1b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'Publish CocoaPods'
on:
push:
tags:
- 'v*'
- '[0-9]+\.*'

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion WCPhotoManipulator.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
s.author = { "Woraphot Chokratanasombat" => "guhungry@gmail.com" }

s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/guhungry/ios-photo-manipulator.git", :tag => "v#{s.version}" }
s.source = { :git => "https://github.com/guhungry/ios-photo-manipulator.git", :tag => "#{s.version}" }
s.source_files = "Sources/WCPhotoManipulator/**/*.{swift}"
s.swift_version = '5.0'
end

0 comments on commit 03db1b2

Please sign in to comment.