This commit is contained in:
parent
24337e9e00
commit
07424811ce
@ -31,7 +31,7 @@ jobs:
|
||||
method: 'DELETE'
|
||||
continue-on-error: true
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.PACKAGE_PUSH_TOKEN }}
|
||||
password: ${{ secrets.TOKEN_REGISTRY }}
|
||||
timeout: 20000
|
||||
if: env.RELEASE_VERSION == 'master'
|
||||
|
||||
@ -42,7 +42,7 @@ jobs:
|
||||
url: "https://antoine-roux.tk/projects/api/packages/go/generic/docker-multi-arch-builder/${{ env.RELEASE_VERSION }}/docker-multi-arch-builder"
|
||||
method: 'PUT'
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.PACKAGE_PUSH_TOKEN }}
|
||||
password: ${{ secrets.TOKEN_REGISTRY }}
|
||||
timeout: 20000
|
||||
file: "${{ github.workspace }}/bin/docker-multi-arch-builder-linux-amd64"
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
//go:build dev
|
||||
// +build dev
|
||||
|
||||
package version
|
||||
|
||||
@ -7,10 +6,10 @@ import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
//Version ...
|
||||
// Version ...
|
||||
var Version = "0.1.0"
|
||||
|
||||
//Prerelease such as "dev" (in development), "beta", "rc1", etc.
|
||||
// Prerelease such as "dev" (in development), "beta", "rc1", etc.
|
||||
var Prerelease = "dev"
|
||||
|
||||
// String returns the complete version string, including prerelease
|
||||
|
@ -1,5 +1,4 @@
|
||||
//go:build prod
|
||||
// +build prod
|
||||
|
||||
package version
|
||||
|
||||
@ -9,13 +8,13 @@ import (
|
||||
version "github.com/hashicorp/go-version"
|
||||
)
|
||||
|
||||
//Version ...
|
||||
// Version ...
|
||||
var Version = "1.0.0"
|
||||
|
||||
//Prerelease such as "dev" (in development), "beta", "rc1", etc.
|
||||
// Prerelease such as "dev" (in development), "beta", "rc1", etc.
|
||||
var Prerelease = "prod"
|
||||
|
||||
//SemVer management
|
||||
// SemVer management
|
||||
var SemVer *version.Version
|
||||
|
||||
func init() {
|
||||
|
Loading…
Reference in New Issue
Block a user