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

Develop #47

Merged
merged 7 commits into from
Aug 28, 2024
Merged

Develop #47

merged 7 commits into from
Aug 28, 2024

Conversation

gumob
Copy link
Owner

@gumob gumob commented Aug 28, 2024

No description provided.

gumob added 7 commits August 28, 2024 01:28
   This commit adds support for pushing the TLDExtractSwift pod to the Cocoapods trunk and updating its version on GitHub. The changes include adding a new function `cocoapods_trunk_push` that cleans the cache, deletes the old version if it exists, and pushes the new version to the trunk. Additionally, a new function `github_update_tag` is added that retrieves the current version number from the project's build settings, checks for existing tags, deletes them if they exist, and creates a new tag with the current version number. The run script now includes these new functions in its list of options.
…ilures, retrieve current version from project file, check if the current version is a valid semantic version, delete existing version from CocoaPods trunk before pushing a new one

This commit adds error handling to the workflow by setting `set -eo pipefail` and exiting the script on pipe failures. It also retrieves the current version from the project file, checks if it is a valid semantic version, deletes the existing version from the CocoaPods trunk before pushing a new one. This improves the reliability of the workflow by ensuring that only valid versions are pushed to the CocoaPods trunk and that errors are handled gracefully.
…s to prevent accidental changes on wrong branches
…o make the workflow more flexible and reusable across multiple projects
@gumob gumob merged commit 2f4b948 into main Aug 28, 2024
3 checks passed
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.37%. Comparing base (2425c87) to head (c504645).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   99.37%   99.37%           
=======================================
  Files           4        4           
  Lines         159      159           
=======================================
  Hits          158      158           
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant