1
0
Commit Graph

2699 Commits

Author SHA1 Message Date
ورد
03956fb32d readme: fix incorrect download link example 2025-07-09 16:00:28 +03:00
Version Update Bot
bc6664fc23 Auto-update mod versions (2025-07-09 12:38:17)
Updated mods:
- Entropy: dfb0287 → a0d656c (VersionSource.HEAD)
2025-07-09 12:38:17 +00:00
Version Update Bot
f9555f794f Auto-update mod versions (2025-07-09 04:32:44)
Updated mods:
- Pokermon: 24bc3bd → 70f47a5 (VersionSource.HEAD)
2025-07-09 04:32:44 +00:00
Version Update Bot
41db4eb405 Auto-update mod versions (2025-07-09 03:20:54)
Updated mods:
- Grab Bag: 4ba1c49 → 6cf07f5 (VersionSource.HEAD)
2025-07-09 03:20:54 +00:00
Version Update Bot
00d55e0df4 Auto-update mod versions (2025-07-09 01:27:34)
Updated mods:
- Pokermon: 6e18724 → 24bc3bd (VersionSource.HEAD)
- Grab Bag: 10e0a6d → 4ba1c49 (VersionSource.HEAD)
- Entropy: 408448b → dfb0287 (VersionSource.HEAD)
- CreditLib: 0.3.1 → v0.3.1 (VersionSource.LATEST_TAG)
- Cryptposting: 1342ba6 → 69e5835 (VersionSource.HEAD)
2025-07-09 01:27:35 +00:00
ورد
1ade361f7d Add colonthreeing@CreditLib mod (#316)
This is an API mod to easily add credit badges to cards.
2025-07-09 02:29:45 +03:00
Version Update Bot
25b424b954 Auto-update mod versions (2025-07-08 23:18:09)
Updated mods:
- Grab Bag: 29f8a81 → 10e0a6d (VersionSource.HEAD)
- Entropy: cb1aecf → 408448b (VersionSource.HEAD)
2025-07-08 23:18:09 +00:00
Version Update Bot
06208515a1 Auto-update mod versions (2025-07-08 22:18:29)
Updated mods:
- Pokermon: 0265040 → 6e18724 (VersionSource.HEAD)
- JokerDisplay: e90fa02 → b7dd653 (VersionSource.HEAD)
- Grab Bag: aaf74a2 → 29f8a81 (VersionSource.HEAD)
- Too Many Jokers: 217d765 → 8d33c12 (VersionSource.HEAD)
- TOGA's Stuff: 9c38451 → 3b582a2 (VersionSource.HEAD)
2025-07-08 22:18:29 +00:00
Version Update Bot
0cda93d506 Auto-update mod versions (2025-07-08 21:17:41)
Updated mods:
- Grab Bag: d28a242 → aaf74a2 (VersionSource.HEAD)
2025-07-08 21:17:41 +00:00
Version Update Bot
1d8691c2e3 Auto-update mod versions (2025-07-08 20:20:41)
Updated mods:
- Too Many Jokers: e38730c → 217d765 (VersionSource.HEAD)
2025-07-08 20:20:41 +00:00
Version Update Bot
4dd1e0543c Auto-update mod versions (2025-07-08 19:14:45)
Updated mods:
- Entropy: 65a353b → cb1aecf (VersionSource.HEAD)
2025-07-08 19:14:45 +00:00
julie
a316cd45c5 Merge remote-tracking branch 'upstream/main' 2025-07-08 11:52:32 -07:00
julie
f14c4217e9 Add colonthreeing@CreditLib 2025-07-08 11:50:40 -07:00
Version Update Bot
2fb235a93a Auto-update mod versions (2025-07-08 18:26:11)
Updated mods:
- Grab Bag: 6e81f67 → d28a242 (VersionSource.HEAD)
2025-07-08 18:26:11 +00:00
Version Update Bot
5b4d5216e4 Auto-update mod versions (2025-07-08 17:17:17)
Updated mods:
- Pokermon: aa55ebd → 0265040 (VersionSource.HEAD)
- Entropy: 88c6015 → 65a353b (VersionSource.HEAD)
2025-07-08 17:17:17 +00:00
Version Update Bot
c02e05b41d Auto-update mod versions (2025-07-08 15:20:09)
Updated mods:
- JokerDisplay: e1ccfdd → e90fa02 (VersionSource.HEAD)
2025-07-08 15:20:09 +00:00
Version Update Bot
1e97981fbc Auto-update mod versions (2025-07-08 12:38:15)
Updated mods:
- Entropy: 9e00553 → 88c6015 (VersionSource.HEAD)
- TOGA's Stuff: c83c08c → 9c38451 (VersionSource.HEAD)
2025-07-08 12:38:15 +00:00
Version Update Bot
2caefa0bb7 Auto-update mod versions (2025-07-08 05:19:25)
Updated mods:
- Pokermon: 3e02955 → aa55ebd (VersionSource.HEAD)
- Lobotomy Corporation: 6d4f4ec → 62fc049 (VersionSource.HEAD)
2025-07-08 05:19:26 +00:00
Version Update Bot
dcdb927bf0 Auto-update mod versions (2025-07-08 04:29:10)
Updated mods:
- QoL Bundle: 20250624_015935 → 20250708_032641 (VersionSource.SPECIFIC_TAG)
- Rebalanced Stakes: 20250618_035311 → 20250708_032641 (VersionSource.SPECIFIC_TAG)
- Black Seal: 20250624_015936 → 20250708_032640 (VersionSource.SPECIFIC_TAG)
2025-07-08 04:29:10 +00:00
Version Update Bot
b3b32de73f Auto-update mod versions (2025-07-08 03:18:38)
Updated mods:
- Entropy: bb35858 → 9e00553 (VersionSource.HEAD)
- BalatrinGamingDeck: 1.0.0 → d1bc486 (VersionSource.HEAD)
2025-07-08 03:18:38 +00:00
Breezebuilder
ed883cf59a CelestinGaming@BalatrinGamingDeck (#313)
a resource pack mod wich contains cards designs inspired in the youtube
channel "Ratatin Gaming"
2025-07-08 13:08:42 +10:00
Breezebuilder
9390e89633 feat: add proper version detection for repos with multiple immutable URLs for different mods (#290)
Reopening after messing up #288.

## Motivation

The current version detection logic assumes that mods using
`automatic-version-check` either:
1. Use GitHub's automatic latest release URL
(`releases/latest/download/mod.zip`)
2. Link directly to repository HEAD (`archive/refs/heads/main.zip`)

However, some mod authors, like me, use **permanent release tag URLs**
like `releases/download/mod-name__latest/mod.zip` to provide stable
download links while still updating the underlying release. This pattern
is particularly common in **monorepos** where multiple mods share a
single repository.

## Problem

When a mod uses a permanent tag URL, the current script queries the
repository's overall latest release, which fundamentally diverge from
how releases in a monorepo work. This causes issues where:

- **All mods get the same version**: Every mod gets versioned as
whatever release was created most recently across the entire repository
- **False update notifications**: BMM detects "updates" when unrelated
mods are released
- **Broken update detection**: Actual updates to specific mods may not
be detected

## Solution

This PR adds support for permanent release tag URLs with minimal changes
by:

1. **Detecting the pattern**: URLs matching
`releases/download/{tag}/{asset}` or `releases/tag/{tag}` (excluding
`releases/latest/`)
2. **Querying specific tags**: Instead of `/releases/latest`, query
`/releases/tags/{specific-tag}`
3. **Using asset timestamps**: Generate versions based on the most
recent asset's `created_at` timestamp, this avoids generating updates
for simple renames in the asset.
4. **Maintaining compatibility**: All existing URL patterns continue to
work unchanged

### Key Design Decisions

- **Asset-agnostic**: Uses the most recently created asset instead of
searching for specific filenames, keeping it simple and efficient
- **Timestamp-based versioning**: Format `YYYYMMDD_HHMMSS` provides
human-readable, sequential versions

## Benefits

- **Enables monorepo workflows**: Authors can maintain multiple mods in
one repository with reliable update detection by updating specific tags
assets
- **Broader ecosystem support**: Works with any permanent tag naming
convention
- **Zero breaking changes**: Existing single-mod repositories continue
working identically

## Example

**Before**: All mods in `/balatro-mods` get version
`rebalanced-stakes__v1.2.8` (latest across entire repo)

**After**: 
- `qol-bundle` gets version `20240115_103042` (when `qol-bundle__latest`
tag has new asset)
- `rebalanced-stakes` gets version `20240116_140521` (when
`rebalanced-stakes__latest` tag has new asset)

This enables reliable update detection for each mod independently.

## Considerations
The `update_mod_versions` script currently uses the `created_at`
timestamp of the most recent asset to generate versions. This approach
is intentionally flexible and works with various ways of updating fixed
release tags, but it may be worth considering more opinionated
approaches in the future. For example, we could require semantic
versioning in release titles or extract changelogs from release bodies,
which would open up possibilities for additional features.

This implementation can also be extended to latest-release URLs with
little effort, since they just redirect to a specific release tag in the
API. Any future metadata extraction features could apply to both URL
patterns.

For now, this PR focuses on providing immediate compatibility with
minimal friction in the existing environment, while establishing a
foundation that can be built upon later.
2025-07-08 12:59:54 +10:00
Celestin Gaming 64
f326c8659f Update description.md 2025-07-07 22:16:48 -04:00
Version Update Bot
e7f4eb88ee Auto-update mod versions (2025-07-08 01:26:23)
Updated mods:
- Entropy: af17353 → bb35858 (VersionSource.HEAD)
- Baldatro: v1.0.0 → v1.1.0 (VersionSource.RELEASE_TAG)
2025-07-08 01:26:23 +00:00
Version Update Bot
d38948b268 Auto-update mod versions (2025-07-07 23:17:27)
Updated mods:
- TOGA's Stuff: 75155d2 → c83c08c (VersionSource.HEAD)
2025-07-07 23:17:27 +00:00
Version Update Bot
e8105cc44c Auto-update mod versions (2025-07-07 21:17:08)
Updated mods:
- Pokermon: 8f40f16 → 3e02955 (VersionSource.HEAD)
- Too Many Decks: 8098d0c → 7ecfc30 (VersionSource.HEAD)
2025-07-07 21:17:08 +00:00
Celestin Gaming 64
179e2dcdc0 upload mod files
balatrin gaming deck mod files
2025-07-07 16:50:10 -04:00
Version Update Bot
ccbfe6732c Auto-update mod versions (2025-07-07 20:20:30)
Updated mods:
- Entropy: e54bff7 → af17353 (VersionSource.HEAD)
- Too Many Jokers: 5e1ebbe → e38730c (VersionSource.HEAD)
- SDM_0's Stuff: 988681d → 22d8d17 (VersionSource.HEAD)
2025-07-07 20:20:30 +00:00
Version Update Bot
53083432c0 Auto-update mod versions (2025-07-07 19:16:22)
Updated mods:
- Pokermon: 324def2 → 8f40f16 (VersionSource.HEAD)
2025-07-07 19:16:23 +00:00
Gabriel Freitas
080d8dd3f3 Merge branch 'main' into feat/monorepo-support 2025-07-07 14:32:23 -03:00
Version Update Bot
7f6535f5c4 Auto-update mod versions (2025-07-07 17:16:39)
Updated mods:
- Lobotomy Corporation: 7031541 → 6d4f4ec (VersionSource.HEAD)
2025-07-07 17:16:39 +00:00
Version Update Bot
0af60327fa Auto-update mod versions (2025-07-07 16:24:07)
Updated mods:
- Too Many Jokers: c781f0e → 5e1ebbe (VersionSource.HEAD)
2025-07-07 16:24:07 +00:00
Gabriel Freitas
cdfc5ea431 Revert repository url check for CI 2025-07-07 12:28:32 -03:00
Version Update Bot
50bee6cdf4 Auto-update mod versions (2025-07-07 15:19:28)
Updated mods:
- QoL Bundle: none → 20250624_015935 (VersionSource.SPECIFIC_TAG)
- Rebalanced Stakes: none → 20250618_035311 (VersionSource.SPECIFIC_TAG)
- Black Seal: none → 20250624_015936 (VersionSource.SPECIFIC_TAG)
2025-07-07 15:19:28 +00:00
Version Update Bot
95da2e4ab9 Auto-update mod versions (2025-07-07 15:18:35)
Updated mods:
- Lobotomy Corporation: 8ca687d → 7031541 (VersionSource.HEAD)
2025-07-07 15:18:35 +00:00
Gabriel Freitas
c7e446c1af Confirm that version is always required 2025-07-07 12:18:08 -03:00
Version Update Bot
875e4edca7 Auto-update mod versions (2025-07-07 15:15:54)
Updated mods:
- Lobotomy Corporation: 8ca687d → 7031541 (VersionSource.HEAD)
2025-07-07 15:15:54 +00:00
Gabriel Freitas
eaaef217c1 version meta field is always required again
BMM won't detect updates if the version is None. Since the previous schema required version to be None when using `fixed-release-tag-updates`, that meant that manual updates via PR wouldn't be detected.
2025-07-07 12:14:35 -03:00
Gabriel Freitas
412c6df3d0 Remove support for release tag page url.
Only asset url is now accepted for fixed-release-tag-updates
2025-07-07 12:06:11 -03:00
Version Update Bot
13479ddc91 Auto-update mod versions (2025-07-07 14:44:38)
Updated mods:
- QoL Bundle: none → 20250624_015935 (VersionSource.SPECIFIC_TAG)
- Rebalanced Stakes: none → 20250618_035311 (VersionSource.SPECIFIC_TAG)
- Black Seal: none → 20250624_015936 (VersionSource.SPECIFIC_TAG)
2025-07-07 14:44:38 +00:00
Gabriel Freitas
025cd27180 Revert erroneous fix on version checking 2025-07-07 11:42:47 -03:00
Gabriel Freitas
c033537d96 Remove version field to ensure auto-update script handles no version meta.json 2025-07-07 11:38:52 -03:00
Version Update Bot
f90afff196 Auto-update mod versions (2025-07-07 14:33:02)
Updated mods:
- QoL Bundle: black-seal__v3.2.9 → 20250624_015935 (VersionSource.SPECIFIC_TAG)
- Rebalanced Stakes: black-seal__v3.2.9 → 20250618_035311 (VersionSource.SPECIFIC_TAG)
- Black Seal: black-seal__v3.2.9 → 20250624_015936 (VersionSource.SPECIFIC_TAG)
2025-07-07 14:33:02 +00:00
Gabriel Freitas
2297413551 Fix update_mod_versions.py to handle asset names correctly and improve version change check logic for better clarity 2025-07-07 11:31:35 -03:00
Gabriel Freitas
fa76b2a899 Enhance update_mod_versions.py with detailed print statements for checking release tags and assets during processing 2025-07-07 11:18:51 -03:00
Gabriel Freitas
7c43f8b82e Modify CI temporarilly to allow testing on fork 2025-07-07 11:06:49 -03:00
Gabriel Freitas
5ffd57492e Update 'json-schema-validate-action' to 1.4.0 to support custom error messages 2025-07-07 11:01:13 -03:00
Gabriel Freitas
014ac36072 Merge branch 'skyline69:main' into feat/monorepo-support 2025-07-07 10:50:21 -03:00
Version Update Bot
72bc7559a8 Auto-update mod versions (2025-07-07 13:32:13)
Updated mods:
- pi_cubed's Jokers: 423d4a4 → 352ced1 (VersionSource.HEAD)
2025-07-07 13:32:13 +00:00
Version Update Bot
af0ed8a970 Auto-update mod versions (2025-07-07 10:20:35)
Updated mods:
- Entropy: 41745b2 → e54bff7 (VersionSource.HEAD)
2025-07-07 10:20:36 +00:00