We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@flex-development/dtag
1 parent b6d4c97 commit a7237c5Copy full SHA for a7237c5
.github/workflows/continuous-deployment.yml
@@ -72,11 +72,10 @@ jobs:
72
uses: actions/github-script@v4
73
with:
74
script: |
75
- const dtag = require('@flex-development/dtag')
+ let dtag = process.env.tag.split('-')[1] || ''
76
+ if (dtag && dtag.includes('.')) dtag = dtag.split('.')[0]
77
- const version = process.env.tag.slice(1)
78
-
79
- core.setOutput('args', `--tag ${dtag({ version }) || ''}`.trim())
+ core.setOutput('args', `--tag ${dtag}`.trim())
80
publish-package:
81
name: Publish package to GPR & NPM
82
needs: deployment-info
0 commit comments