Skip to content

Commit 7a90c7e

Browse files
committed
Strip off timestamp from version
1 parent ec9b94c commit 7a90c7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ NODE_MODULE_NAME := @defang-io/pulumi-defang
77
NUGET_PKG_NAME := DefangLabs.defang
88

99
PROVIDER := pulumi-resource-${PACK}
10-
VERSION ?= $(shell pulumictl get version $(if $(filter 0,$(IS_PRERELEASE)),--is-prerelease))
10+
VERSION ?= $(shell pulumictl get version $(if $(filter 0,$(IS_PRERELEASE)),--is-prerelease) | sed -E 's/\.([0-9]{10})(\+|$$)/\2/')
1111
PROVIDER_PATH := provider
1212
VERSION_PATH := ${PROVIDER_PATH}.Version
1313
IS_PRERELEASE := $(shell git tag --sort=creatordate | tail -n1 | grep -q "alpha\|beta\|rc\|preview"; echo $$?)

provider/cmd/pulumi-resource-defang/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "defang",
3-
"version": "1.1.0-alpha.1761326756",
3+
"version": "1.1.0-alpha",
44
"description": "Take your app from Docker Compose to a secure and scalable cloud deployment with Pulumi.",
55
"keywords": [
66
"category/cloud",

0 commit comments

Comments
 (0)