Skip to content

Commit c65197e

Browse files
authored
Develop (#25)
* remove get latest button, remove uservoice link * add get started, add start-dev * add final level, refactor * try fix heroku port issue * fix server.js, remove stupid line * score validation * bump version to 1.0.2 * limit level to 10 * add dummy tests * fix newGame issues * fix bump version for package-lock.json * version bump to 1.0.3
1 parent 4dad697 commit c65197e

File tree

10 files changed

+4902
-205
lines changed

10 files changed

+4902
-205
lines changed

bump_version.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,10 @@ function write_new_version {
9595
local rep="\"version\": \"${newVersion}\""
9696
sed -i "" "s/${line}/${rep}/g" package.json
9797

98+
# in package-lock.json we only want to replace the very first occurence
9899
echo " package-lock.json"
99-
sed -i "" "s/${line}/${rep}/g" package-lock.json
100+
sed -e "/${line}/{s//${rep}/;:a" -e '$!N;$!ba' -e '}' package-lock.json > tmp && mv tmp package-lock.json
101+
100102

101103
# TODO: update last_update
102104
echo " web-app-manifest.json"

cache.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Pacman 1.0.2 2020-12-26 14:04:47
2+
# Pacman 1.0.3 2020-12-26 20:23:31
33

44
CACHE:
55

index.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ <h3>Powerpills</h3>
154154
<div class="button" id="back">&lt; back</div>
155155
<div>
156156
<h1>Info</h1>
157-
<p>Current Version: <span class="app-version">1.0.2 (2020-12-26)</span></p>
157+
<p>Current Version: <span class="app-version">1.0.3 (2020-12-26)</span></p>
158158
<img src="img/platzh1rsch-logo.png">
159159
<p>Pacman Canvas is Open Source, written by <a href="http://platzh1rsch.ch">platzh1rsch</a>. You can get the code on <a target="_blank" href="https://github.com/platzhersh/pacman-canvas" target="_blank">github</a>.</p>
160160
</div>

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "Pacman Canvas",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55

66
"short_name": "Pacman Canvas",
77
"description": "An old classic, rewritten in HTML5",

0 commit comments

Comments
 (0)