Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sematic creates tags in GitHub but fails to create releases #3039

Open
mpavlovicbb opened this issue Oct 31, 2023 · 0 comments
Open

Sematic creates tags in GitHub but fails to create releases #3039

mpavlovicbb opened this issue Oct 31, 2023 · 0 comments

Comments

@mpavlovicbb
Copy link

Current behavior

I am running semantic-release in Tekton pipeline. It have GITHUB_TOKEN env variable and this is config for semantic

The token that is passed to it has repo scope, user who owns the token is admin over that repo.

But the release itself is never visible on GitHub.

Expected behavior

Release generated from the CI

semantic-release version

Everything latest installe with NPM each time. NPM version is 9.8.1

CI environment

Tekton

Plugins used

        '@semantic-release/commit-analyzer',
        '@semantic-release/release-notes-generator',
        '@semantic-release/changelog',
        '@semantic-release/github',
        ['@semantic-release/exec', {
            prepareCmd: '$PREPARE_CMD'
        }],
      '@semantic-release/git'

semantic-release configuration

branches: ['$(params.revision)'],
          plugins: [
            '@semantic-release/commit-analyzer',
            '@semantic-release/release-notes-generator',
            '@semantic-release/changelog',
            '@semantic-release/github',
            ['@semantic-release/exec', {
                prepareCmd: '$PREPARE_CMD'
            }],
          ['@semantic-release/git', {assets: [],message: 'chore(release): \\\${nextRelease.version} [skip ci]\\n\\n\\\${nextRelease.notes}'}]"
   ],

CI logs

[semantic-release] › ✔ Published release 2.4.0 on default channel

There is no any error log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant