Skip to content

Commit a7237c5

Browse files
committed
ci(workflows): drop @flex-development/dtag usage
in `continuous-deployment` workflow
1 parent b6d4c97 commit a7237c5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/continuous-deployment.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,10 @@ jobs:
7272
uses: actions/github-script@v4
7373
with:
7474
script: |
75-
const dtag = require('@flex-development/dtag')
75+
let dtag = process.env.tag.split('-')[1] || ''
76+
if (dtag && dtag.includes('.')) dtag = dtag.split('.')[0]
7677
77-
const version = process.env.tag.slice(1)
78-
79-
core.setOutput('args', `--tag ${dtag({ version }) || ''}`.trim())
78+
core.setOutput('args', `--tag ${dtag}`.trim())
8079
publish-package:
8180
name: Publish package to GPR & NPM
8281
needs: deployment-info

0 commit comments

Comments
 (0)