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.
1 parent 53c6a89 commit dad050bCopy full SHA for dad050b
.changeset/nasty-eyes-hide.md
@@ -0,0 +1,5 @@
1
+---
2
+"@generates/kdot": patch
3
4
+
5
+Adding dangling dash fix to build name too
packages/kdot/lib/commands/build.js
@@ -110,7 +110,9 @@ export default async function build (input) {
110
// Create the pod configuration.
111
const [firstTag] = app.image?.tags || []
112
const tag = app.image?.tag || firstTag || 'latest'
113
- const name = (app.build.id || `build-${app.name}-${tag}`).substr(0, 63)
+ const name = (app.build.id || `build-${app.name}-${tag}`)
114
+ .substr(0, 63)
115
+ .replace(/-$/, '')
116
logger.debug('Build pod:', name)
117
build.resources.push({
118
app,
0 commit comments