Skip to content

Commit

Permalink
Merge pull request #9 from cryptogarageinc/fix/appversion
Browse files Browse the repository at this point in the history
fix: appVersion
  • Loading branch information
Hiroyuki ONODA authored Jun 2, 2020
2 parents 4e7adda + d2c994e commit 78f65af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dev_script/appVersion.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const childProcess = require("child_process")
const envSuffix = process.env.TARGET_ENV || ""
const regexp = new RegExp("^[0-9.]*-" + envSuffix + "$")
const regexp = new RegExp("^[0-9.]*$")

const latestTagVersion = childProcess.execSync("git tag -l --sort -version:refname").toString().split(/\r\n|\r|\n/).find(s => {
return s.match(regexp)
Expand Down

0 comments on commit 78f65af

Please sign in to comment.