Skip to content

Commit 864cf8e

Browse files
chore: Fix incorrect major version bump (#648)
1 parent d17c7bf commit 864cf8e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

internal/core/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ const (
77
// SDK release tag version.
88
Version = "v20250312006.1.0"
99
// Resource Version.
10-
Resource = ""
10+
Resource = "20250312"
1111
)

tools/releaser/scripts/update-minor-version.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ npm exec -c "replace-in-file /$SDK_MAJOR_VERSION\.$SDK_MINOR_VERSION\.0/g $BUMPE
2222

2323
## Explicitly update version.go file
2424
export SDK_VERSION="${BUMPED_VERSION}"
25+
export NEW_RESOURCE_VERSION="${SDK_RESOURCE_VERSION}" # resource version remains the same, defined to avoid an empty value
2526

2627
echo "Updating version.go file: $SDK_VERSION"
2728
target_file_path="$script_path/../../../internal/core/version.go"
28-
envsubst < "$script_path/../templates/VERSION.tmpl" > "$target_file_path"
29+
envsubst < "$script_path/../templates/VERSION.tmpl" > "$target_file_path"

0 commit comments

Comments
 (0)