;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.
|
||||
# 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.
|
||||
|
||||
name: nightly
|
||||
name: testbin
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@ -125,18 +125,18 @@ jobs:
|
||||
run: |
|
||||
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:
|
||||
# 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-x64.tar.gz
|
||||
# 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
|
||||
# permissions:
|
||||
# contents: write
|
||||
with:
|
||||
tag_name: nightly
|
||||
tag_name: testbin
|
||||
files: |
|
||||
artifacts/*.zip
|
||||
artifacts/*.tar.gz
|
||||
34
Justfile
34
Justfile
@ -1100,34 +1100,26 @@ devtag-push:
|
||||
echo "Pushing tag $DEVVER.."
|
||||
git push origin "$DEVVER"
|
||||
|
||||
# XXX There's a tag and a github prerelease, both named nightly, creating confusion.
|
||||
# Try replacing the tag with a github nightly branch again.
|
||||
|
||||
# # 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:
|
||||
# Between releases: push HEAD to github testbin branch and start building new platform binaries.
|
||||
testbin:
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
git push -f origin HEAD:nightly
|
||||
git push -f origin HEAD:testbin
|
||||
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
|
||||
|
||||
# Browse the github nightly prerelease.
|
||||
@nightlyrel-open:
|
||||
gh release view -w nightly
|
||||
# Browse the github testbin prerelease.
|
||||
@testbin-open:
|
||||
gh release view -w testbin
|
||||
|
||||
# Push the nightly prerelease notes to the github nightly prerelease.
|
||||
@nightlyrel-notes:
|
||||
gh release edit nightly -F doc/ghnightlynotes.md
|
||||
# Push the testbin prerelease notes to the github testbin prerelease.
|
||||
@testbin-notes:
|
||||
gh release edit testbin -F doc/ghtestbinnotes.md
|
||||
|
||||
# After building nightly binaries (nightlybin), copy them to the github nightly prerelease.
|
||||
@nightlyrel-bin:
|
||||
gh workflow run nightly
|
||||
# After building testbin binaries (testbin), copy them to the github testbin prerelease.
|
||||
@testbin-bin:
|
||||
gh workflow run testbin
|
||||
|
||||
# ** 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>
|
||||
<summary>
|
||||
Loading…
Reference in New Issue
Block a user