Skip to content

Commit c3182a8

Browse files
Fix UI artifact upload and semver tests (#13)
Signed-off-by: Jordi Clariana <[email protected]>
1 parent d4a7bdc commit c3182a8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/release-ankorstore.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ jobs:
6868
echo "::set-output name=release_version::$RELEASE_VERSION"
6969
- name: Check out code into the Go module directory
7070
uses: actions/checkout@v1
71+
- name: Download ui tar
72+
uses: actions/download-artifact@v2
73+
with:
74+
name: ui-tar
7175
- name: install-upx
7276
run: brew install upx
7377
- name: Compile binaries

pkg/devspace/upgrade/upgrade.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package upgrade
22

33
import (
44
"fmt"
5-
"github.com/loft-sh/devspace/pkg/devspace/env"
65
"os"
76
"regexp"
87
"sync"
98

9+
"github.com/loft-sh/devspace/pkg/devspace/env"
10+
1011
"github.com/pkg/errors"
1112

1213
"github.com/loft-sh/devspace/pkg/util/log"
@@ -20,7 +21,7 @@ var version string
2021
var rawVersion string
2122

2223
var githubSlug = "ankorstore/devspace"
23-
var reVersion = regexp.MustCompile(`\d+\.\d+\.\d+-aks.\d`)
24+
var reVersion = regexp.MustCompile(`\d+\.\d+\.\d+(-aks.\d)?`)
2425

2526
func eraseVersionPrefix(version string) (string, error) {
2627
indices := reVersion.FindStringIndex(version)

0 commit comments

Comments
 (0)