;workflows: rename nightly -> testbin
The nightly tag is no longer usable, having been used in a test of immutable releases on Github. The branch/tag/workflow/release is now "testbin", intended for publishing unreleased binaries for testing.
This commit is contained in:
parent
01c79b357e
commit
656c779c6f
@ -1,8 +1,8 @@
|
|||||||
# TRIGGER: Runs when triggered manually.
|
# TRIGGER: Runs when triggered manually.
|
||||||
# ACTION: Uploads binaries from the latest successful binaries-* runs to the current "nightly" prerelease.
|
# ACTION: Uploads binaries from the latest successful binaries-* runs to the current "testbin" prerelease.
|
||||||
# Should not change anything else about the prerelease.
|
# Should not change anything else about the prerelease.
|
||||||
|
|
||||||
name: nightly
|
name: testbin
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -125,18 +125,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ls -lRFh artifacts
|
ls -lRFh artifacts
|
||||||
|
|
||||||
# The nightly prerelease should already exist; this should only update its artifacts.
|
# The testbin prerelease should already exist; this should only update its artifacts.
|
||||||
# Alternative:
|
# Alternative:
|
||||||
# gh release upload {{ VER }} tmp/hledger-linux-x64.tar.gz
|
# gh release upload {{ VER }} tmp/hledger-linux-x64.tar.gz
|
||||||
# gh release upload {{ VER }} tmp/hledger-mac-arm64.tar.gz
|
# gh release upload {{ VER }} tmp/hledger-mac-arm64.tar.gz
|
||||||
# gh release upload {{ VER }} tmp/hledger-mac-x64.tar.gz
|
# gh release upload {{ VER }} tmp/hledger-mac-x64.tar.gz
|
||||||
# gh release upload {{ VER }} tmp/hledger-windows-x64.zip
|
# gh release upload {{ VER }} tmp/hledger-windows-x64.zip
|
||||||
- name: Upload artifacts to nightly prerelease
|
- name: Upload artifacts to testbin prerelease
|
||||||
uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 # https://github.com/softprops/action-gh-release 2.0.5
|
uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 # https://github.com/softprops/action-gh-release 2.0.5
|
||||||
# permissions:
|
# permissions:
|
||||||
# contents: write
|
# contents: write
|
||||||
with:
|
with:
|
||||||
tag_name: nightly
|
tag_name: testbin
|
||||||
files: |
|
files: |
|
||||||
artifacts/*.zip
|
artifacts/*.zip
|
||||||
artifacts/*.tar.gz
|
artifacts/*.tar.gz
|
||||||
34
Justfile
34
Justfile
@ -1100,34 +1100,26 @@ devtag-push:
|
|||||||
echo "Pushing tag $DEVVER.."
|
echo "Pushing tag $DEVVER.."
|
||||||
git push origin "$DEVVER"
|
git push origin "$DEVVER"
|
||||||
|
|
||||||
# XXX There's a tag and a github prerelease, both named nightly, creating confusion.
|
# Between releases: push HEAD to github testbin branch and start building new platform binaries.
|
||||||
# Try replacing the tag with a github nightly branch again.
|
testbin:
|
||||||
|
|
||||||
# # After release: point the nightly tag at the release and push the tag.
|
|
||||||
# @nightlytag-push:
|
|
||||||
# git tag -f nightly $(just relver)
|
|
||||||
# git push -f origin nightly
|
|
||||||
|
|
||||||
# Between releases: push HEAD to github nightly branch and start building new platform binaries.
|
|
||||||
nightlybin:
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
git push -f origin HEAD:nightly
|
git push -f origin HEAD:testbin
|
||||||
git push -f origin HEAD:binaries
|
git push -f origin HEAD:binaries
|
||||||
printf "When binaries have built successfully, run:\n just nightlyrel-bin\n"
|
printf "When binaries have built successfully, run:\n just testbin-bin\n"
|
||||||
just ghworkflows-open
|
just ghworkflows-open
|
||||||
|
|
||||||
# Browse the github nightly prerelease.
|
# Browse the github testbin prerelease.
|
||||||
@nightlyrel-open:
|
@testbin-open:
|
||||||
gh release view -w nightly
|
gh release view -w testbin
|
||||||
|
|
||||||
# Push the nightly prerelease notes to the github nightly prerelease.
|
# Push the testbin prerelease notes to the github testbin prerelease.
|
||||||
@nightlyrel-notes:
|
@testbin-notes:
|
||||||
gh release edit nightly -F doc/ghnightlynotes.md
|
gh release edit testbin -F doc/ghtestbinnotes.md
|
||||||
|
|
||||||
# After building nightly binaries (nightlybin), copy them to the github nightly prerelease.
|
# After building testbin binaries (testbin), copy them to the github testbin prerelease.
|
||||||
@nightlyrel-bin:
|
@testbin-bin:
|
||||||
gh workflow run nightly
|
gh workflow run testbin
|
||||||
|
|
||||||
# ** Installing ------------------------------------------------------------
|
# ** Installing ------------------------------------------------------------
|
||||||
INSTALLING:
|
INSTALLING:
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Here you can find unreleased "nightly" binaries, which are updated occasionally. By using these and providing [feedback](https://hledger.org/support.html), you can help to make the next release better.
|
Here you can find unreleased test binaries, which are updated occasionally. By using these and providing [feedback](https://hledger.org/support.html), you can help to make the next release better.
|
||||||
|
|
||||||
These binaries have the following changes since the 1.51 release: https://github.com/simonmichael/hledger/compare/1.51...nightly
|
These binaries have the following changes since the 1.51 release: https://github.com/simonmichael/hledger/compare/1.51...testbin
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>
|
||||||
Loading…
Reference in New Issue
Block a user