Skip to content

Commit

Permalink
fix SHORT_SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Feb 11, 2024
1 parent 2a5031b commit 7912e13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27058,6 +27058,7 @@ const replaceValues = (str) => {

return str
.replace(/{{\s*LC::SHA\s*}}/g, sha)
.replace(/{{\s*LC::SHORT_SHA\s*}}/g, sha.substring(0, 7))
.replace(/{{\s*LC::REF\s*}}/g, ref)
.replace(/{{\s*LC::REPO\s*}}/g, repo)
.replace(new RegExp(getPattern("TO_DATA_URL"), "g"), (_match, file) => {
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const replaceValues = (str) => {

return str
.replace(/{{\s*LC::SHA\s*}}/g, sha)
.replace(/{{\s*LC::SHORT_SHA\s*}}/g, sha.substring(0, 7))
.replace(/{{\s*LC::REF\s*}}/g, ref)
.replace(/{{\s*LC::REPO\s*}}/g, repo)
.replace(new RegExp(getPattern("TO_DATA_URL"), "g"), (_match, file) => {
Expand Down

0 comments on commit 7912e13

Please sign in to comment.