Version Client.js (#255)

* Version Client.js

* Update build.yml
This commit is contained in:
Frank A. Krueger 2021-05-12 18:48:19 -07:00 committed by GitHub
parent dae66fe2c0
commit d3a9b9ddf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -24,9 +24,10 @@ jobs:
VERSION_SUFFIX: ${{github.run_number}}
run: |
VERSION=$VERSION_PREFIX.$VERSION_SUFFIX
sed -ibak "s:// Ooui v1.0.0:// Ooui v$VERSION:g" Ooui/Client.js
sed -ibak "s:<Version>1.0.0</Version>:<Version>$VERSION</Version>:g" Ooui/Ooui.csproj
sed -ibak "s:<Version>1.0.0</Version>:<version>$VERSION</version>:g" Ooui.AspNetCore/Ooui.AspNetCore.csproj
sed -ibak "s:<Version>1.0.0</Version>:<version>$VERSION</version>:g" Ooui.Forms/Ooui.Forms.csproj
sed -ibak "s:<Version>1.0.0</Version>:<Version>$VERSION</Version>:g" Ooui.AspNetCore/Ooui.AspNetCore.csproj
sed -ibak "s:<Version>1.0.0</Version>:<Version>$VERSION</Version>:g" Ooui.Forms/Ooui.Forms.csproj
sed -ibak "s:version=\"1.0.0\":version=\"$VERSION\":g" Ooui.Wasm/Ooui.Wasm.nuspec
sed -ibak2 "s:<version>1.0.0</version>:<version>$VERSION</version>:g" Ooui.Wasm/Ooui.Wasm.nuspec
cat Ooui.Wasm/Ooui.Wasm.nuspec