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

Badge not updating after configuration changes #58

Closed
ebridges opened this issue Aug 30, 2017 · 2 comments
Closed

Badge not updating after configuration changes #58

ebridges opened this issue Aug 30, 2017 · 2 comments

Comments

@ebridges
Copy link

The badge is not reflecting changes in configuration even if the generated images are deleted. Seems like the configuration from fastlane is being cached somehow.

  • Fastlane version 2.54.3
  • fastlane-plugin-badge 0.8.2

Also getting two warnings.

  1. At the very beginning of every run:
    Plugin 'Badge' overwrites already loaded action 'badge'
  2. Right before execution of the badge action:
==========================================
This action (badge) is deprecated
==========================================

Redacted log of a complete run:

$ bundle exec fastlane ios develop
[18:13:24]: Plugin 'Badge' overwrites already loaded action 'badge'
+----------------------------+---------+-------------------------------------+
|                                Used plugins                                |
+----------------------------+---------+-------------------------------------+
| Plugin                     | Version | Action                              |
+----------------------------+---------+-------------------------------------+
| fastlane-plugin-versioning | 0.2.7   | get_app_store_version_number        |
|                            |         | get_build_number_from_plist         |
|                            |         | get_info_plist_path                 |
|                            |         | get_version_number_from_git_branch  |
|                            |         | get_version_number_from_plist       |
|                            |         | increment_build_number_in_plist     |
|                            |         | increment_version_number_in_plist   |
| fastlane-plugin-badge      | 0.8.2   | badge                               |
+----------------------------+---------+-------------------------------------+
[18:13:25]: -----------------------------
[18:13:25]: --- Step: update_fastlane ---
[18:13:25]: -----------------------------
[18:13:25]: Looking for updates for fastlane...
[18:13:27]: Nothing to update ✅
[18:13:27]:
[18:13:27]: Please help us test early releases of fastlane by opting into nightly builds 🌃
[18:13:27]: Just replace your `update_fastlane` call with
[18:13:27]:
[18:13:27]: ▸ update_fastlane(nightly: true)
[18:13:27]:
[18:13:27]: Nightly builds are reviewed and tested just like the public releases 🚂
[18:13:27]:
[18:13:27]: -------------------------------------------------
[18:13:27]: --- Step: Verifying required fastlane version ---
[18:13:27]: -------------------------------------------------
[18:13:27]: Your fastlane version 2.54.3 matches the minimum requirement of 2.51.0  ✅
[18:13:27]: Driving the lane 'ios develop' 🚀
[18:13:27]: --------------------------------
[18:13:27]: --- Step: clear_derived_data ---
[18:13:27]: --------------------------------
<snip>
[18:13:27]: -------------------------------------------
[18:13:27]: --- Step: get_version_number_from_plist ---
[18:13:27]: -------------------------------------------
<snip>
[18:13:29]: -------------------
[18:13:29]: --- Step: is_ci ---
[18:13:29]: -------------------
[18:13:29]: -----------------------------
[18:13:29]: --- Step: last_git_commit ---
[18:13:29]: -----------------------------
<snip>
[18:13:29]: ---------------------------------------------
[18:13:29]: --- Step: increment_build_number_in_plist ---
[18:13:29]: ---------------------------------------------
<snip>
[18:13:31]: -------------------
[18:13:31]: --- Step: is_ci ---
[18:13:31]: -------------------
<snip>
[18:13:31]: -----------------------------
[18:13:31]: --- Step: create_keychain ---
[18:13:31]: -----------------------------
<snip>
[18:13:31]: --------------------------------
[18:13:31]: --- Step: import_certificate ---
[18:13:31]: --------------------------------
<snip>
[18:13:32]: --------------------------------
[18:13:32]: --- Step: import_certificate ---
[18:13:32]: --------------------------------
[18:13:32]: ------------------
[18:13:32]: --- Step: sigh ---
[18:13:32]: ------------------
+-------------------------------------+---------------------------------+
|                        Summary for sigh 2.54.3                        |
+-------------------------------------+---------------------------------+
<snip>
+-------------------------------------+---------------------------------+
<snip>
[18:13:35]: -------------------
[18:13:35]: --- Step: badge ---
[18:13:35]: -------------------
==========================================
This action (badge) is deprecated
==========================================
[18:13:36]: Start adding badges...
<snip>
[18:13:46]: Badged \o/!
@ebridges ebridges changed the title badge not updating after configuration changes Badge not updating after configuration changes Aug 30, 2017
@HazAT
Copy link
Owner

HazAT commented Sep 19, 2017

Hey, please upgrade to fastlane-plugin-badge 1.0.0
The action has been renamed to add_badge which should resolve the conflict.

@HazAT HazAT closed this as completed Sep 19, 2017
@ebridges
Copy link
Author

thanks! problem solved

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

No branches or pull requests

2 participants