fix(releaseupdate): find releases in the public releases repository
The source repository is private, so the updater and install.sh got 404. Releases are now published to samcharles93/archie-releases by task release:publish.
This commit is contained in:
1 parent
474fd59759
commit
cb29967e7b
6 files changed
+73
-9
No files matched your search
@@ -18,10 +18,12 @@ import (
|
||||
"github.com/samcharles93/archie-core/internal/buildinfo"
|
||||
)
|
||||
|
||||
// ReleaseSlug is the repository releases are published to.
|
||||
const ReleaseSlug = "samcharles93/archie-core"
|
||||
// ReleaseSlug is the public repository releases are published to. The source
|
||||
// repository is private, so its releases are unreachable without credentials.
|
||||
const ReleaseSlug = "samcharles93/archie-releases"
|
||||
|
||||
const changelogURL = "https://github.com/" + ReleaseSlug + "/blob/main/CHANGELOG.md"
|
||||
// changelogURL lists every release with its changelog section as notes.
|
||||
const changelogURL = "https://github.com/" + ReleaseSlug + "/releases"
|
||||
|
||||
// buildSuffix is the git-describe tail of an untagged build (1.7.0-4-g0736708).
|
||||
var buildSuffix = regexp.MustCompile(`-[0-9]+-g[0-9a-f]+$`)
|
||||
|
||||
Reference in new issue
Block a user