Files
everforest-resources/.github/workflows/release.yml
renovate[bot] 6202fa40d2 chore(actions): update softprops/action-gh-release action (v2.5.0 → v2.6.1) (#59)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[softprops/action-gh-release](https://redirect.github.com/softprops/action-gh-release)
| action | minor | `v2.5.0` → `v2.6.1` |

---

### Release Notes

<details>
<summary>softprops/action-gh-release
(softprops/action-gh-release)</summary>

###
[`v2.6.1`](https://redirect.github.com/softprops/action-gh-release/releases/tag/v2.6.1)

[Compare
Source](https://redirect.github.com/softprops/action-gh-release/compare/v2.6.0...v2.6.1)

`2.6.1` is a patch release focused on restoring linked discussion thread
creation when
`discussion_category_name` is set. It fixes `#764`, where the
draft-first publish flow
stopped carrying the discussion category through the final publish step.

If you still hit an issue after upgrading, please open a report with the
bug template and include a minimal repro or sanitized workflow snippet
where possible.

#### What's Changed

##### Bug fixes 🐛

- fix: preserve discussion category on publish by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;765](https://redirect.github.com/softprops/action-gh-release/pull/765)

###
[`v2.6.0`](https://redirect.github.com/softprops/action-gh-release/releases/tag/v2.6.0)

[Compare
Source](https://redirect.github.com/softprops/action-gh-release/compare/v2.5.3...v2.6.0)

`2.6.0` is a minor release centered on `previous_tag` support for
`generate_release_notes`,
which lets workflows pin GitHub's comparison base explicitly instead of
relying on the default range.
It also includes the recent concurrent asset upload recovery fix, a
`working_directory` docs sync,
a checked-bundle freshness guard for maintainers, and clearer
immutable-prerelease guidance where
GitHub platform behavior imposes constraints on how prerelease asset
uploads can be published.

If you still hit an issue after upgrading, please open a report with the
bug template and include a minimal repro or sanitized workflow snippet
where possible.

#### What's Changed

##### Exciting New Features 🎉

- feat: support previous\_tag for generate\_release\_notes by
[@&#8203;pocesar](https://redirect.github.com/pocesar) in
[#&#8203;372](https://redirect.github.com/softprops/action-gh-release/pull/372)

##### Bug fixes 🐛

- fix: recover concurrent asset metadata 404s by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;760](https://redirect.github.com/softprops/action-gh-release/pull/760)

##### Other Changes 🔄

- docs: clarify reused draft release behavior by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;759](https://redirect.github.com/softprops/action-gh-release/pull/759)
- docs: clarify working\_directory input by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;761](https://redirect.github.com/softprops/action-gh-release/pull/761)
- ci: verify dist bundle freshness by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;762](https://redirect.github.com/softprops/action-gh-release/pull/762)
- fix: clarify immutable prerelease uploads by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;763](https://redirect.github.com/softprops/action-gh-release/pull/763)

###
[`v2.5.3`](https://redirect.github.com/softprops/action-gh-release/releases/tag/v2.5.3)

[Compare
Source](https://redirect.github.com/softprops/action-gh-release/compare/v2.5.2...v2.5.3)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

`2.5.3` is a patch release focused on the remaining path-handling and
release-selection bugs uncovered after `2.5.2`.
It fixes `#639`, `#571`, `#280`, `#614`, `#311`, `#403`, and `#368`.
It also adds documentation clarifications for `#541`, `#645`, `#542`,
`#393`, and `#411`,
where the current behavior is either usage-sensitive or constrained by
GitHub platform limits rather than an action-side runtime bug.

If you still hit an issue after upgrading, please open a report with the
bug template and include a minimal repro or sanitized workflow snippet
where possible.

#### What's Changed

##### Bug fixes 🐛

- fix: prefer token input over GITHUB\_TOKEN by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;751](https://redirect.github.com/softprops/action-gh-release/pull/751)
- fix: clean up duplicate drafts after canonicalization by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;753](https://redirect.github.com/softprops/action-gh-release/pull/753)
- fix: support Windows-style file globs by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;754](https://redirect.github.com/softprops/action-gh-release/pull/754)
- fix: normalize refs-tag inputs by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;755](https://redirect.github.com/softprops/action-gh-release/pull/755)
- fix: expand tilde file paths by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;756](https://redirect.github.com/softprops/action-gh-release/pull/756)

##### Other Changes 🔄

- docs: clarify token precedence by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;752](https://redirect.github.com/softprops/action-gh-release/pull/752)
- docs: clarify GitHub release limits by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;758](https://redirect.github.com/softprops/action-gh-release/pull/758)
- documentation clarifications for empty-token handling,
`preserve_order`, and special-character asset filename behavior

**Full Changelog**:
<https://github.com/softprops/action-gh-release/compare/v2...v2.5.3>

###
[`v2.5.2`](https://redirect.github.com/softprops/action-gh-release/releases/tag/v2.5.2)

[Compare
Source](https://redirect.github.com/softprops/action-gh-release/compare/v2.5.1...v2.5.2)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

`2.5.2` is a patch release focused on the remaining release-creation and
prerelease regressions in the `2.5.x` bug-fix cycle.
It fixes `#705`, fixes `#708`, fixes `#740`, fixes `#741`, and fixes
`#722`.
Regression testing covers the shared-tag race, prerelease event
behavior, dotfile asset labels,
same-filename concurrent uploads, and blocked-tag cleanup behavior.

If you still hit an issue after upgrading, please open a report with the
bug template and include a minimal repro or sanitized workflow snippet
where possible.

#### What's Changed

##### Bug fixes 🐛

- fix: canonicalize releases after concurrent create by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;746](https://redirect.github.com/softprops/action-gh-release/pull/746)
- fix: preserve prereleased events for prereleases by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;748](https://redirect.github.com/softprops/action-gh-release/pull/748)
- fix: restore dotfile asset labels by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;749](https://redirect.github.com/softprops/action-gh-release/pull/749)
- fix: handle upload already\_exists races across workflows by
[@&#8203;api2062](https://redirect.github.com/api2062) in
[#&#8203;745](https://redirect.github.com/softprops/action-gh-release/pull/745)
- fix: clean up orphan drafts when tag creation is blocked by
[@&#8203;chenrui333](https://redirect.github.com/chenrui333) in
[#&#8203;750](https://redirect.github.com/softprops/action-gh-release/pull/750)

#### New Contributors

- [@&#8203;api2062](https://redirect.github.com/api2062) made their
first contribution in
[#&#8203;745](https://redirect.github.com/softprops/action-gh-release/pull/745)

**Full Changelog**:
<https://github.com/softprops/action-gh-release/compare/v2...v2.5.2>

###
[`v2.5.1`](https://redirect.github.com/softprops/action-gh-release/releases/tag/v2.5.1)

[Compare
Source](https://redirect.github.com/softprops/action-gh-release/compare/v2.5.0...v2.5.1)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

`2.5.1` is a patch release focused on regressions introduced in `2.5.0`
and on release lookup reliability.
It fixes `#713`, addresses `#703`, and fixes `#724`. Regression testing
shows that
current `master` no longer reproduces the finalize-race behavior
reported in `#704` and `#709`.

#### What's Changed

##### Bug fixes 🐛

- fix: fetch correct asset URL after finalization; test; some
refactoring by
[@&#8203;pzhlkj6612](https://redirect.github.com/pzhlkj6612) in
[#&#8203;738](https://redirect.github.com/softprops/action-gh-release/pull/738)
- fix: release marked as 'latest' despite make\_latest: false by
[@&#8203;Boshen](https://redirect.github.com/Boshen) in
[#&#8203;715](https://redirect.github.com/softprops/action-gh-release/pull/715)
- fix: use getReleaseByTag API instead of iterating all releases by
[@&#8203;kim-em](https://redirect.github.com/kim-em) in
[#&#8203;725](https://redirect.github.com/softprops/action-gh-release/pull/725)

##### Other Changes 🔄

- dependency updates, including the ESM/runtime compatibility refresh in
[#&#8203;731](https://redirect.github.com/softprops/action-gh-release/pull/731)

#### New Contributors

- [@&#8203;autarch](https://redirect.github.com/autarch) made their
first contribution in
[#&#8203;716](https://redirect.github.com/softprops/action-gh-release/pull/716)
- [@&#8203;pzhlkj6612](https://redirect.github.com/pzhlkj6612) made
their first contribution in
[#&#8203;738](https://redirect.github.com/softprops/action-gh-release/pull/738)
- [@&#8203;Boshen](https://redirect.github.com/Boshen) made their first
contribution in
[#&#8203;715](https://redirect.github.com/softprops/action-gh-release/pull/715)
- [@&#8203;kim-em](https://redirect.github.com/kim-em) made their first
contribution in
[#&#8203;725](https://redirect.github.com/softprops/action-gh-release/pull/725)

**Full Changelog**:
<https://github.com/softprops/action-gh-release/compare/v2...v2.5.1>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At 12:00 AM through 04:59 AM and 10:00
PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only
on Sunday and Saturday ( * * * * 0,6 ) in timezone Europe/Helsinki,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ivuorinen/everforest-resources).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvZ2l0aHViLWFjdGlvbiIsInJlbm92YXRlL2dpdGh1Yi1yZWxlYXNlIiwidHlwZS9taW5vciJdfQ==-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-17 14:56:09 +02:00

217 lines
8.5 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Release
on:
push:
tags:
- "v*"
jobs:
build:
name: Build Release Assets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Generate all themes
run: npm run generate
- name: Validate themes
run: npm run validate
- name: Create release archives
run: |
# Create directories for different packages
mkdir -p dist/{terminals,editors,cli,web,complete}
# Package terminals
cp -r terminals/* dist/terminals/
cd dist && tar -czf everforest-terminals.tar.gz terminals/ && cd ..
# Package editors
cp -r editors/* dist/editors/
cd dist && tar -czf everforest-editors.tar.gz editors/ && cd ..
# Package CLI tools
cp -r cli/* dist/cli/
cd dist && tar -czf everforest-cli.tar.gz cli/ && cd ..
# Package web resources
cp -r web/* dist/web/
cp -r docs/examples/* dist/web/
cd dist && tar -czf everforest-web.tar.gz web/ && cd ..
# Complete package
cp -r {terminals,editors,cli,web,docs} dist/complete/
cp install.sh README.md LICENSE dist/complete/
cd dist && tar -czf everforest-complete.tar.gz complete/ && cd ..
# Create checksums
cd dist
sha256sum *.tar.gz > checksums.txt
cd ..
- name: Upload build artifacts
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: release-archives
path: dist/*.tar.gz
retention-days: 30
- name: Upload checksums
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: checksums
path: dist/checksums.txt
retention-days: 30
test-installation:
name: Test Installation on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: build
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
variant: [dark-medium, light-medium]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Generate themes
run: npm run generate
- name: Test full installation
run: |
# Test installation with backup
./install.sh --variant ${{ matrix.variant }} --backup --dry-run
# Test category installations
./install.sh --variant ${{ matrix.variant }} terminals --dry-run
./install.sh --variant ${{ matrix.variant }} cli --dry-run
create-release:
name: Create GitHub Release
runs-on: ubuntu-latest
needs: [build, test-installation]
permissions:
contents: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Download build artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: release-archives
path: dist/
- name: Download checksums
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: checksums
path: dist/
- name: Generate changelog
run: |
# Extract version from tag
VERSION=${GITHUB_REF#refs/tags/}
# Generate changelog (basic version)
echo "# Everforest Resources $VERSION" > CHANGELOG.md
echo "" >> CHANGELOG.md
echo "## 🎨 What's New" >> CHANGELOG.md
echo "" >> CHANGELOG.md
# Count generated files
npm ci && npm run generate
TOTAL_FILES=$(find . -name "*-dark-*" -o -name "*-light-*" | wc -l)
CLI_TOOLS=$(ls -1 cli/ | grep -v install.sh | wc -l)
TERMINALS=$(ls -1 terminals/ | wc -l)
EDITORS=$(ls -1 editors/ | wc -l)
echo "- 🎯 **$TOTAL_FILES** generated theme files" >> CHANGELOG.md
echo "- 🖥️ **$TERMINALS** terminal emulators supported" >> CHANGELOG.md
echo "- 📝 **$EDITORS** code editors supported" >> CHANGELOG.md
echo "- 🛠️ **$CLI_TOOLS** CLI tools configured" >> CHANGELOG.md
echo "- 🌐 Complete web development CSS framework" >> CHANGELOG.md
echo "" >> CHANGELOG.md
echo "## 📦 Installation" >> CHANGELOG.md
echo "" >> CHANGELOG.md
echo '```bash' >> CHANGELOG.md
echo "# Download and extract" >> CHANGELOG.md
echo "curl -L https://github.com/ivuorinen/everforest-resources/archive/$VERSION.tar.gz | tar xz" >> CHANGELOG.md
echo "cd everforest-resources-${VERSION#v}" >> CHANGELOG.md
echo "" >> CHANGELOG.md
echo "# Install everything" >> CHANGELOG.md
echo "./install.sh" >> CHANGELOG.md
echo "" >> CHANGELOG.md
echo "# Or install specific categories" >> CHANGELOG.md
echo "./install.sh terminals" >> CHANGELOG.md
echo "./install.sh --variant light-medium cli" >> CHANGELOG.md
echo '```' >> CHANGELOG.md
echo "" >> CHANGELOG.md
echo "## 🗂️ Package Contents" >> CHANGELOG.md
echo "" >> CHANGELOG.md
echo "- **everforest-complete.tar.gz**: Everything in one package" >> CHANGELOG.md
echo "- **everforest-terminals.tar.gz**: Terminal emulator themes only" >> CHANGELOG.md
echo "- **everforest-editors.tar.gz**: Code editor themes only" >> CHANGELOG.md
echo "- **everforest-cli.tar.gz**: CLI tool configurations only" >> CHANGELOG.md
echo "- **everforest-web.tar.gz**: Web development resources only" >> CHANGELOG.md
echo "" >> CHANGELOG.md
echo "All packages include 6 theme variants (dark/light × hard/medium/soft)." >> CHANGELOG.md
- name: Create Release
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
with:
files: |
dist/*.tar.gz
dist/checksums.txt
body_path: CHANGELOG.md
draft: false
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
notify:
name: Post-Release Notifications
runs-on: ubuntu-latest
needs: create-release
if: success()
steps:
- name: Extract version
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Create deployment summary
run: |
echo "## 🚀 Release ${{ env.VERSION }} Deployed Successfully!" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "### 📦 Available Downloads:" >> $GITHUB_STEP_SUMMARY
echo "- [Complete Package](https://github.com/ivuorinen/everforest-resources/releases/download/${{ env.VERSION }}/everforest-complete.tar.gz)" >> $GITHUB_STEP_SUMMARY
echo "- [Terminals Only](https://github.com/ivuorinen/everforest-resources/releases/download/${{ env.VERSION }}/everforest-terminals.tar.gz)" >> $GITHUB_STEP_SUMMARY
echo "- [Editors Only](https://github.com/ivuorinen/everforest-resources/releases/download/${{ env.VERSION }}/everforest-editors.tar.gz)" >> $GITHUB_STEP_SUMMARY
echo "- [CLI Tools Only](https://github.com/ivuorinen/everforest-resources/releases/download/${{ env.VERSION }}/everforest-cli.tar.gz)" >> $GITHUB_STEP_SUMMARY
echo "- [Web Resources Only](https://github.com/ivuorinen/everforest-resources/releases/download/${{ env.VERSION }}/everforest-web.tar.gz)" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "### 🎯 Quick Install:" >> $GITHUB_STEP_SUMMARY
echo '```bash' >> $GITHUB_STEP_SUMMARY
echo "curl -L https://github.com/ivuorinen/everforest-resources/archive/${{ env.VERSION }}.tar.gz | tar xz" >> $GITHUB_STEP_SUMMARY
echo "cd everforest-resources-${VERSION#v} && ./install.sh" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY