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

release branch name in v4 #1019

Open
Hyodori04 opened this issue Jul 10, 2024 · 0 comments
Open

release branch name in v4 #1019

Hyodori04 opened this issue Jul 10, 2024 · 0 comments
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.

Comments

@Hyodori04
Copy link

Hyodori04 commented Jul 10, 2024

  • What you're trying to do
    In monorepo, i want to make various release branch

  • What code you've already tried

release-plase-config.json

{
  "include-component-in-tag": true,
  "tag-separator": "@",
  "release-type": "simple",
  "separate-pull-requests": true,
  "changelog-sections": [{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"refactor","section":"Refactoring","hidden":false},{"type":"fix(deps)","section":"Dependency Update","hidden":false},{"type":"test","section":"Tests","hidden":false}],
  "packages": {
    "web/apps/service1": {
      "package-name": "service1",
      "component": "service1",
      "include-component-in-tag": true,
      "separate-pull-requests": true
    }
  }
}

.release-please-mainfest.json

{
  "web/apps/service1": "1.0.0"
}

acitions.yml

name: Service1-ReleasePlease

on:
  push:
    branches:
      - main
    paths:
      - "web/apps/service1/**"

permissions:
  contents: write
  pull-requests: write

jobs:
  release-please:
    runs-on: ubuntu-latest
    steps:
      - uses: googleapis/release-please-action@v4
        id: release
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          path: "web/apps/service1"
          release-type: simple
          config-file: default
          manifest-file: default
          include-component-in-tag: 'true'
      - name: deploy
        if: ${{ steps.release.outputs['web/apps/service--release_created'] }}
        run:
          echo "deploy"
  • Any error messages you're getting
스크린샷 2024-07-10 오후 2 25 15

release-please--branches--main is made but in comparing v3
release-please--branches--main--components--service is should made

@Hyodori04 Hyodori04 added priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue. labels Jul 10, 2024
@Hyodori04 Hyodori04 changed the title release branch name release branch name in v4 Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

1 participant