Skip to content

Commit

Permalink
ci(workflows): drop @flex-development/dtag usage
Browse files Browse the repository at this point in the history
in `continuous-deployment` workflow
  • Loading branch information
unicornware committed Sep 16, 2021
1 parent b6d4c97 commit a7237c5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ jobs:
uses: actions/github-script@v4
with:
script: |
const dtag = require('@flex-development/dtag')
let dtag = process.env.tag.split('-')[1] || ''
if (dtag && dtag.includes('.')) dtag = dtag.split('.')[0]
const version = process.env.tag.slice(1)
core.setOutput('args', `--tag ${dtag({ version }) || ''}`.trim())
core.setOutput('args', `--tag ${dtag}`.trim())
publish-package:
name: Publish package to GPR & NPM
needs: deployment-info
Expand Down

0 comments on commit a7237c5

Please sign in to comment.