From 6498498ea1090589860177322d13c00008176d46 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Wed, 18 Nov 2020 13:20:26 -0800 Subject: [PATCH] Use new github env formats --- bin/printversion.ps1 | 2 +- bin/printversion.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/printversion.ps1 b/bin/printversion.ps1 index 6faad843..380e2783 100644 --- a/bin/printversion.ps1 +++ b/bin/printversion.ps1 @@ -1 +1 @@ -echo "::set-env name=VERSION::1.3.3" +echo "VERSION=1.3.3" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append diff --git a/bin/printversion.sh b/bin/printversion.sh index b83c1f33..d4ae346c 100755 --- a/bin/printversion.sh +++ b/bin/printversion.sh @@ -1,4 +1,3 @@ #!/bin/bash VERSION="1.3.3" - -echo "::set-env name=VERSION::$VERSION" +echo "VERSION=$VERSION" >> $GITHUB_ENV