Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/latest-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# When a release becomes GitHub's Latest release: the release-notes footer, the site's version text and the README
# lines marked <!-- latest --> are updated, checked and committed. Pre-releases change nothing.
# The shared workflow and its script live in timbermods/.github. Run it by hand for a dry run (changes nothing).
name: Latest release

on:
release:
types: [released]
workflow_dispatch:
inputs:
dry-run:
description: Show what would change, change nothing
type: boolean
default: true

permissions:
contents: write
issues: write
pages: write

jobs:
update:
uses: timbermods/.github/.github/workflows/latest-release.yml@main
with:
site-url: https://timbermods.github.io/MixedStorage/
install-page: 'install.html'
asset-pattern: '^MixedStorage-v[\d.]+\.zip$'
test-command: 'node tests/test-site.mjs'
dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run }}
5 changes: 5 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ through a PR → merge.
`404.html`, plus `robots.txt`, `sitemap.xml`, `.nojekyll`. Live at https://timbermods.github.io/MixedStorage/.
- **Published:** GitHub Pages serves `main:/docs`, like every other timbermods site, so merging to main publishes;
a build takes about a minute. (The old `gh-pages` branch and `deploy-site.ps1` are retired.)
- **Latest releases update themselves:** when a release becomes GitHub's Latest, `.github/workflows/latest-release.yml`
(the shared timbermods workflow) appends the standard footer to its notes, sets the site's
`data-release="version|tag|asset-name"` fallback text and the README lines ending in `<!-- latest -->` to the new
version, runs the site checks and commits to main. Pre-releases change nothing. Descriptions, status lists and FAQs
stay manual (the checklist below). Dry run: Actions → Latest release → Run workflow.
- **Look:** "The Apothecary Drawer Cabinet". The site is one walnut cabinet on a painted wall: every drawer is a good,
and its height is that good's share, with brass label holders, kraft cards and brass cup pulls. The look is fixed:
updates extend it and never restyle it.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

Divide a building's capacity by percentage. For example, a 1,200-capacity warehouse can reserve **50% for carrots (600)** and **50% for gears (600)**. Percentages reserve space; they do not create goods or instantly fill the building.

**[Download MixedStorage v1.2.0](https://github.com/timbermods/MixedStorage/releases/download/v1.2.0/MixedStorage-v1.2.0.zip)** · [Release notes](https://github.com/timbermods/MixedStorage/releases/tag/v1.2.0) · [Report a problem](https://github.com/timbermods/MixedStorage/issues) · [Website](https://timbermods.github.io/MixedStorage/)
**[Download MixedStorage v1.2.0](https://github.com/timbermods/MixedStorage/releases/download/v1.2.0/MixedStorage-v1.2.0.zip)** · [Release notes](https://github.com/timbermods/MixedStorage/releases/tag/v1.2.0) · [Report a problem](https://github.com/timbermods/MixedStorage/issues) · [Website](https://timbermods.github.io/MixedStorage/) <!-- latest -->

> **v1.2.0** is the current release, built for Timberborn **1.1.2.4**. One download covers single-player and BeaverBuddies multiplayer.
> **v1.2.0** is the current release, built for Timberborn **1.1.2.4**. One download covers single-player and BeaverBuddies multiplayer. <!-- latest -->

<img width="625" height="1112" alt="image" src="https://github.com/user-attachments/assets/862e5c13-33a0-47ed-9515-9e2dffefe3a9" />

Expand All @@ -22,7 +22,7 @@ Divide a building's capacity by percentage. For example, a 1,200-capacity wareho

## Install

1. Download **MixedStorage-v1.2.0.zip** above. On the release page, choose that file under **Assets**, not **Source code**.
1. Download **MixedStorage-v1.2.0.zip** above. On the release page, choose that file under **Assets**, not **Source code**. <!-- latest -->
2. Close Timberborn. Extract the ZIP's **MixedStorage** folder into your Timberborn **Mods** folder—normally `Documents\Timberborn\Mods` on Windows.
3. Check that `Documents\Timberborn\Mods\MixedStorage\version-1.1\manifest.json` exists. Avoid an extra nested MixedStorage folder.
4. Install **Harmony** 2.4.1 or newer from the [Steam Workshop](https://steamcommunity.com/sharedfiles/filedetails/?id=3284904751) if you don't have it. Enable **Harmony** and **MixedStorage** in the game's mod manager, then restart when prompted.
Expand Down