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