Skip to content

Commit

Permalink
fix: replacement pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
AegirLeet committed Mar 1, 2022
1 parent 08e26e6 commit 9e20780
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const core = require('@actions/core')
const github = require('@actions/github')

const replacementPattern = /[^a-zA-Z0-9]/
const replacementPattern = /[^a-zA-Z0-9.-]/g
const replacementCharacter = '-'

function generateTagFromRef (ref, latestBranches) {
Expand Down

0 comments on commit 9e20780

Please sign in to comment.