Skip to content

Commit

Permalink
add missing cache (#25)
Browse files Browse the repository at this point in the history
* add missing cache
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch authored Nov 5, 2022
1 parent 40f93be commit 909ee9b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and **Merged pull requests**. Critical items to know are:
The versions coincide with releases on pip. Only major versions will be released as tags on Github.

## [0.0.x](https://github.com/rse-ops/actions-updater/tree/main) (0.0.x)
- missing cache added back (0.0.16)
- add support for updating action.yml (with composite action) (0.0.15)
- add line_length parameter to settings (0.0.14)
- enforce fallback to use major versions still enforces commit (0.0.13)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You can see the [⭐️ Documentation ⭐️](https://vsoch.github.io/action-upd

## ⭐️ Quick Start ⭐️

### Installation
### Installation

The module is available in pypi as [action-updater](https://pypi.org/project/action-updater/),
and to install we first recommend some kind of virtual environment:
Expand Down
3 changes: 3 additions & 0 deletions action_updater/main/updaters/version/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ def detect(self, action):
if not updated:
updated = self.get_tagged_commit(tags)

# Save repo tags in cache
self.cache["tags"][repo] = tags

# If we don't have tags by this point, no go - we cannot parse
if not updated:
continue
Expand Down
2 changes: 1 addition & 1 deletion action_updater/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
__copyright__ = "Copyright 2022, Vanessa Sochat"
__license__ = "MPL 2.0"

__version__ = "0.0.15"
__version__ = "0.0.16"
AUTHOR = "Vanessa Sochat"
EMAIL = "[email protected]"
NAME = "action-updater"
Expand Down

0 comments on commit 909ee9b

Please sign in to comment.