🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-09 01:52:35 | PHP 8.2.33
📂
/ (Root)
/
opt
/
cpanel
/
ea-nodejs16
/
lib
/
node_modules
/
npm
/
node_modules
/
libnpmversion
/
lib
📍 /opt/cpanel/ea-nodejs16/lib/node_modules/npm/node_modules/libnpmversion/lib
🔄 Refresh
✏️
Editing: tag.js
Read Only
const git = require('@npmcli/git') module.exports = async (version, opts) => { const { signGitTag, allowSameVersion, tagVersionPrefix, message, } = opts const tag = `${tagVersionPrefix}${version}` const flags = ['-'] if (signGitTag) { flags.push('s') } if (allowSameVersion) { flags.push('f') } flags.push('m') return git.spawn([ 'tag', flags.join(''), message.replace(/%s/g, version), tag, ], opts) }
💾 Save Changes
❌ Cancel