Remove envvar and file content logging
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
gci env:\
|
|
||||||
|
|
||||||
if((Get-Content env:\GITHUB_REF_TYPE) -ne "tag")
|
if((Get-Content env:\GITHUB_REF_TYPE) -ne "tag")
|
||||||
{
|
{
|
||||||
Return
|
Return
|
||||||
@@ -12,4 +10,3 @@ Write-Host $version
|
|||||||
Write-Host $git_sha
|
Write-Host $git_sha
|
||||||
|
|
||||||
(Get-Content src\Alma\Alma.csproj).Replace("0.0.0", $version).Replace("development", $git_sha) | Set-Content src\Alma\Alma.csproj
|
(Get-Content src\Alma\Alma.csproj).Replace("0.0.0", $version).Replace("development", $git_sha) | Set-Content src\Alma\Alma.csproj
|
||||||
Write-Host (Get-Content src\Alma\Alma.csproj)
|
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
printenv
|
|
||||||
|
|
||||||
if [ ${GITHUB_REF_TYPE} != "tag" ]; then
|
if [ ${GITHUB_REF_TYPE} != "tag" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@@ -13,4 +11,3 @@ echo $version
|
|||||||
echo $git_hash
|
echo $git_hash
|
||||||
|
|
||||||
sed -i "s/0.0.0/$version/g;s/development/$git_hash/g" src/Alma/Alma.csproj
|
sed -i "s/0.0.0/$version/g;s/development/$git_hash/g" src/Alma/Alma.csproj
|
||||||
cat src/Alma/Alma.csproj
|
|
||||||
Reference in New Issue
Block a user