Skip to content

Commit 909ee9b

Browse files
authored
add missing cache (#25)
* add missing cache Signed-off-by: vsoch <[email protected]>
1 parent 40f93be commit 909ee9b

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and **Merged pull requests**. Critical items to know are:
1414
The versions coincide with releases on pip. Only major versions will be released as tags on Github.
1515

1616
## [0.0.x](https://github.com/rse-ops/actions-updater/tree/main) (0.0.x)
17+
- missing cache added back (0.0.16)
1718
- add support for updating action.yml (with composite action) (0.0.15)
1819
- add line_length parameter to settings (0.0.14)
1920
- enforce fallback to use major versions still enforces commit (0.0.13)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You can see the [⭐️ Documentation ⭐️](https://vsoch.github.io/action-upd
2121

2222
## ⭐️ Quick Start ⭐️
2323

24-
### Installation
24+
### Installation
2525

2626
The module is available in pypi as [action-updater](https://pypi.org/project/action-updater/),
2727
and to install we first recommend some kind of virtual environment:

action_updater/main/updaters/version/update.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ def detect(self, action):
6464
if not updated:
6565
updated = self.get_tagged_commit(tags)
6666

67+
# Save repo tags in cache
68+
self.cache["tags"][repo] = tags
69+
6770
# If we don't have tags by this point, no go - we cannot parse
6871
if not updated:
6972
continue

action_updater/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__copyright__ = "Copyright 2022, Vanessa Sochat"
33
__license__ = "MPL 2.0"
44

5-
__version__ = "0.0.15"
5+
__version__ = "0.0.16"
66
AUTHOR = "Vanessa Sochat"
77
88
NAME = "action-updater"

0 commit comments

Comments
 (0)