;tools:just: drop the nightly tag, use a github nightly branch again
It's simpler.
This commit is contained in:
parent
8c5bcbb7d3
commit
c871ca0ebb
22
Justfile
22
Justfile
@ -1079,21 +1079,19 @@ devtag-push:
|
|||||||
echo "Consider also: with $RELVER installed, ./Shake cmddocs -c"
|
echo "Consider also: with $RELVER installed, ./Shake cmddocs -c"
|
||||||
|
|
||||||
# XXX There's a tag and a github prerelease, both named nightly, creating confusion.
|
# 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.
|
# # After release: point the nightly tag at the release and push the tag.
|
||||||
@nightlytag-push:
|
# @nightlytag-push:
|
||||||
git tag -f nightly $(just relver)
|
# git tag -f nightly $(just relver)
|
||||||
git push -f origin nightly
|
# git push -f origin nightly
|
||||||
|
|
||||||
# XXX Ideally we'd like to adjust and push the nightly tag only after a successful build and push of new binaries.
|
# Between releases: push HEAD to github nightly branch and start building new platform binaries.
|
||||||
# Between releases: push master to github, then point the nightly tag there, push the tag, and start building new platform binaries. (Until builds succeed, the tag will be wrong.)
|
nightlybin:
|
||||||
master-nightlyrel-push:
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
just push
|
git push -f origin HEAD:nightly
|
||||||
git tag -f nightly master
|
git push -f origin HEAD:binaries
|
||||||
git push -f origin nightly
|
|
||||||
git push -f origin master:binaries
|
|
||||||
echo "When binaries have built successfully, run just nightlyrel-bin-copy"
|
echo "When binaries have built successfully, run just nightlyrel-bin-copy"
|
||||||
|
|
||||||
# Browse the github nightly prerelease.
|
# Browse the github nightly prerelease.
|
||||||
@ -1104,7 +1102,7 @@ master-nightlyrel-push:
|
|||||||
@nightlyrel-notes:
|
@nightlyrel-notes:
|
||||||
gh release edit nightly -F doc/nightlynotes.md
|
gh release edit nightly -F doc/nightlynotes.md
|
||||||
|
|
||||||
# After building platform binaries (ghbin), copy them to the github nightly prerelease.
|
# After building nightly binaries (nightlybin), copy them to the github nightly prerelease.
|
||||||
@nightlyrel-bin-copy:
|
@nightlyrel-bin-copy:
|
||||||
gh workflow run nightly
|
gh workflow run nightly
|
||||||
|
|
||||||
|
|||||||
@ -161,7 +161,6 @@ It should be improved each time it is used.
|
|||||||
- github nightly release updated
|
- github nightly release updated
|
||||||
in master, update changes link in doc/ghnightlynotes.md
|
in master, update changes link in doc/ghnightlynotes.md
|
||||||
`just nightlyrel-notes`
|
`just nightlyrel-notes`
|
||||||
`just nightlytag-push`
|
|
||||||
- install instructions tested and working
|
- install instructions tested and working
|
||||||
- stack
|
- stack
|
||||||
- cabal
|
- cabal
|
||||||
|
|||||||
@ -1,8 +1,7 @@
|
|||||||
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 "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.
|
||||||
|
|
||||||
These binaries have the following changes since the 1.50.1 release: https://github.com/simonmichael/hledger/compare/1.50.1...binaries
|
These binaries have the following changes since the 1.50.2 release: https://github.com/simonmichael/hledger/compare/1.50.2...nightly
|
||||||
<!-- compare with binaries branch; updates promptly, should be equivalent to.. -->
|
<!-- compare with nightly branch; updates promptly, should be equivalent to.. -->
|
||||||
<!-- https://github.com/simonmichael/hledger/compare/1.50...nightly --> <!-- compare with nightly tag; sometimes doesn't update reliably -->
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>
|
||||||
@ -22,8 +21,6 @@ If you have [eget](https://github.com/zyedidia/eget), that's a convenient way to
|
|||||||
```
|
```
|
||||||
eget simonmichael/hledger --pre-release --all
|
eget simonmichael/hledger --pre-release --all
|
||||||
```
|
```
|
||||||
<!-- eget simonmichael/hledger --tag nightly --all -->
|
|
||||||
|
|
||||||
Otherwise:
|
Otherwise:
|
||||||
|
|
||||||
</xdetails>
|
</xdetails>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user