Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/2.0.0 #21

Merged
merged 6 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:

- name: Publish release
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN_CI }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TOKEN_CI }}
run: bundle exec fastlane publish_release
2 changes: 1 addition & 1 deletion ADNavigationBarExtension.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'ADNavigationBarExtension'
s.version = '1.0.4'
s.version = '2.0.0'
s.author = 'Fabernovel Technologies'
s.homepage = 'https://fabernovel.com/'
s.summary = 'ADNavigationBarExtension is a UI library written in Swift to show and hide an extension to your UINavigationBar'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [Unreleased]

## [2.0.0] - 2024-03-04

### Changed
- Bump ADUtils requirements to 12+

Expand Down
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- ADNavigationBarExtension (1.0.4):
- ADNavigationBarExtension (2.0.0):
- ADUtils (~> 12.0)
- ADUtils (12.1.1):
- ADUtils/objc (= 12.1.1)
Expand All @@ -23,7 +23,7 @@ EXTERNAL SOURCES:
:path: "./"

SPEC CHECKSUMS:
ADNavigationBarExtension: 7bb3042ea4375225682979774a787ec760a6e22f
ADNavigationBarExtension: 1be9d794fb7715b7d1bfa5158ddcabe176ffb769
ADUtils: a3e9fdcfe76222dd3abfa4659ad1e8249ed16c95
SwiftLint: 5ce4d6a8ff83f1b5fd5ad5dbf30965d35af65e44

Expand Down
10 changes: 7 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def update_changelog(target_version)
changelog_path = ENV["CHANGELOG"]
stamp_changelog(
changelog_path: changelog_path,
section_identifier: "#{target_version}"
section_identifier: "#{target_version}",
stamp_datetime_format: '%F'
)

git_add(path: changelog_path)
Expand All @@ -100,9 +101,12 @@ def bump_podspec(target_version)
version_number: target_version
)

git_add(path: podspec_path)
pod_install # update the Podfile.lock with the new version

path = [podspec_path, "Podfile.lock"]
git_add(path: path)
git_commit(
path: podspec_path,
path: path,
message: "Bump to #{target_version}"
)
end
Expand Down
Loading