Skip to content

Commit

Permalink
chore: Debug GH_TOKEN on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Dec 31, 2023
1 parent 440a5c4 commit fcfa1c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/publish/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ export async function publish(options) {
// released regardless if they have changed files matching the package srcDir.
let RELEASE_ALL = false

if (typeof ghToken === 'string' && ghToken.length > 0) {
console.log('GH_TOKEN found')
}

if (!latestTag || tag) {
if (tag) {
if (!tag.startsWith('v')) {
Expand Down

0 comments on commit fcfa1c2

Please sign in to comment.