Skip to content

Commit

Permalink
Merge pull request #245 from zendesk/rdemeterio/VEG-2375/to-trigger-r…
Browse files Browse the repository at this point in the history
…elease

[VEG-2375] - a token branch so that we can rerun a release
  • Loading branch information
romeodemeteriojr authored Jul 15, 2024
2 parents 7bcebd8 + e80ec24 commit 4f5d91b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/zcli-apps/src/utils/createApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as FormData from 'form-data'
import { getManifestFile } from '../utils/manifest'
import { request } from '@zendesk/zcli-core'
import { CliUx } from '@oclif/core'
import * as chalk from 'chalk'

export const getManifestAppName = (appPath: string): string | undefined => {
return getManifestFile(appPath).name
Expand All @@ -20,6 +21,9 @@ export const uploadAppPkg = async (pkgPath: string): Promise<any> => {

// clean up
await fs.remove(pkgPath)
if (response.status !== 201) {
console.log(chalk.red('Upload failed with response: ', response.data))
}

return response.data
}
Expand Down

0 comments on commit 4f5d91b

Please sign in to comment.