* Fix upgrade_hugo to handle appVersion > 10
This commit is contained in:
John Bintz 2020-06-26 11:58:24 -04:00
parent 94d595af3e
commit f6d3bb9024
5 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
0.72.0~2020-06-02
0.73.0~2020-06-24

View File

@ -90,13 +90,13 @@ lib64/ld-linux-x86-64.so.2
opt/app
opt/app/.babelrc
opt/app/.cloudcmd.menu.js
opt/app/.nuxt/dist/0.nuxt.bundle.db62f68fec4fd5eb3b91.js
opt/app/.nuxt/dist/0.nuxt.bundle.16482ff29275c33d0755.js
opt/app/.nuxt/dist/1.nuxt.bundle.89a9958091c34dcc68ed.js
opt/app/.nuxt/dist/index.html
opt/app/.nuxt/dist/manifest.c392825db031b79346a6.js
opt/app/.nuxt/dist/nuxt.bundle.a6e53aa463d5ff4a2745.js
opt/app/.nuxt/dist/manifest.9697d6a9fab25e1a411d.js
opt/app/.nuxt/dist/nuxt.bundle.6a166d57ce07674600cf.js
opt/app/.nuxt/dist/server-bundle.json
opt/app/.nuxt/dist/vendor.bundle.c392825db031b79346a6.js
opt/app/.nuxt/dist/vendor.bundle.9697d6a9fab25e1a411d.js
opt/app/.sandstorm/launcher.sh
opt/app/README.md
opt/app/hugo-version

View File

@ -19,7 +19,7 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Hugo"),
appVersion = 10, # Increment this for every release.
appVersion = 11, # Increment this for every release.
appMarketingVersion = (defaultText = (embed "app-marketing-version")),
# Human-readable representation of appVersion. Should match the way you

View File

@ -34,7 +34,7 @@ lines = File.readlines('.sandstorm/sandstorm-pkgdef.capnp')
lines = lines.map do |line|
next line unless line['appVersion']
line.gsub(/= ([0-9])+,/) { |m| "= #{$1.to_i + 1}," }
line.gsub(/= ([0-9]+),/) { |m| "= #{$1.to_i + 1}," }
end
File.open('.sandstorm/sandstorm-pkgdef.capnp', 'w') { |fh| fh.print lines.join }

View File

@ -1 +1 @@
0.72.0
0.73.0