Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Invalid flags supplied to RegExp constructor '^Release: #{semver}$' #1

Open
cyberpwnn opened this issue Sep 19, 2021 · 5 comments

Comments

@cyberpwnn
Copy link

(()=>{var e={5265:function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(2087)),s=r(4570);function i(e,t,r){const n=new a(e,t,r);process.stdout.write(n.toString()+o.EOL)}t.issueCommand=i,t.issue=function(e,t=""){i(e,{},t)};class a{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,s.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+=`::${function(e){return s.

SyntaxError: Invalid flags supplied to RegExp constructor '^Release: #{semver}$'
    at new RegExp (<anonymous>)
    at new <anonymous> (/home/runner/work/_actions/CupOfTea696/gh-action-auto-release/v1.0.0/dist/main.js:2:245617)
    at /home/runner/work/_actions/CupOfTea696/gh-action-auto-release/v1.0.0/dist/main.js:2:245009
    at /home/runner/work/_actions/CupOfTea696/gh-action-auto-release/v1.0.0/dist/main.js:2:249014
    at Object.<anonymous> (/home/runner/work/_actions/CupOfTea696/gh-action-auto-release/v1.0.0/dist/main.js:2:249018)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)```
@IvesCostaBr
Copy link

cc

@alkincakiralar1996
Copy link

++

1 similar comment
@yankikucuk
Copy link

++

@tanishqmanuja
Copy link

update to latest release 1.0.2 in workflow yaml file

@Alfagun74
Copy link

Someone should close this issue and update the Examples with the 1.0.2 action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants