Added version number to site.

This commit is contained in:
Brad Nelson
2021-02-25 22:44:52 -08:00
parent 01a9ed3838
commit 4c37483a07
4 changed files with 14 additions and 1 deletions

View File

@ -288,6 +288,15 @@ $(DEPLOY)/app.yaml: $(ARDUINO)/ESP32forth.zip \
cp -r $(WINDOWS)/uEf64.exe $(DEPLOY)/downloads/uEf64.exe
cp -r $(RES)/eforth.ico $(DEPLOY)/downloads/favicon.ico
cp site/.gcloudignore $(DEPLOY)
cat site/ESPForth.html | \
sed "s/{{VERSION}}/${VERSION}/g" | \
sed "s/{{REVISION}}/${REVISION}/g" > $(DEPLOY)/ESP32Forth.html
cat site/windows.html | \
sed "s/{{VERSION}}/${VERSION}/g" | \
sed "s/{{REVISION}}/${REVISION}/g" > $(DEPLOY)/windows.html
cat site/linux.html | \
sed "s/{{VERSION}}/${VERSION}/g" | \
sed "s/{{REVISION}}/${REVISION}/g" > $(DEPLOY)/linux.html
deploy: clean all
cd out/deploy && gcloud app deploy -q --project esp32forth *.yaml

View File

@ -21,6 +21,7 @@
<p>
<a href="downloads/ESP32forth.zip">ESP32forth.zip</a>
- Single .ino file ready for installation
- Version: {{VERSION}} Rev: {{REVISION}}
</p>
<p>

View File

@ -20,6 +20,7 @@
<p>
<a href="downloads/ueforth.linux">ueforth.linux</a>
- Linux 64-bit Executable µEforth
- Version: {{VERSION}} Rev: {{REVISION}}
</p>
<p>

View File

@ -20,11 +20,13 @@
<p>
<a href="downloads/uEf32.exe">uEf32.exe</a>
- Window 32-bit EXE µEforth
- Version: {{VERSION}} Rev: {{REVISION}}
</p>
<p>
<a href="downloads/uEf64.exe">uEf64.exe</a>
- Window 64-bit EXE µEforth
- Version: {{VERSION}} Rev: {{REVISION}}
</p>
<p>