Skip to content

Commit

Permalink
chore(Root): simplify dependabot tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoruiz committed Aug 22, 2024
1 parent 08c550a commit b3b7e7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/publish-tagged-packages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import path from 'node:path'
import prettier from 'prettier'

const PACKAGE_REGEX = /packages\/((([a-z]+)-?)+)/ // matches "packages/sui-any-package-name"
const DEPENDABOT_TAG = 'dependabot'

program
.name('publish-tagged-packages')
Expand Down Expand Up @@ -83,6 +84,7 @@ async function publishPackages() {
packagesToPublish.forEach(async packageName => {
const packageConfig = getConfig(packageName)
const {name} = packageConfig
tag = tag.startsWith(DEPENDABOT_TAG) ? DEPENDABOT_TAG : tag
const version = await getPackageVersion({name, tag})

// Set the new tagged version.
Expand Down

0 comments on commit b3b7e7f

Please sign in to comment.