Skip to content

Commit

Permalink
fix: trigger for release CD (#2363)
Browse files Browse the repository at this point in the history
* fix: trigger for release CD
whitespace for release

* fix: bash logic on which script to write.
less confusing input description
  • Loading branch information
ryandagg authored May 24, 2023
1 parent 83fc9e9 commit cb1bf68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-pack-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
isPreRelease:
description: is release not for prod?
description: is release for beta/rc/dev?
type: boolean
required: false
default: false
Expand Down Expand Up @@ -41,7 +41,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
if [[ ${{ inputs.isPreRelease }} ]]; then
if ${{ inputs.isPreRelease }}
then
bash scripts/publish-prerelease
else
bash scripts/publish-release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Trigger Release
on:
pull_request:
branches:
- main
- release-*
types: [ closed ]
push:
branches:
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {vars} from '@heroku-cli/command'
import {Interfaces} from '@oclif/core'
import netrc from 'netrc-parser'
import * as path from 'path'

import deps from './deps'

const debug = require('debug')('heroku:analytics')
Expand Down

0 comments on commit cb1bf68

Please sign in to comment.