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

Gitlab duplicated release tag & removing of icons #5

Open
ricristian opened this issue Aug 3, 2024 · 0 comments
Open

Gitlab duplicated release tag & removing of icons #5

ricristian opened this issue Aug 3, 2024 · 0 comments

Comments

@ricristian
Copy link

ricristian commented Aug 3, 2024

Hello,

First of all great work on this tiny wrapper. It is really great.
Unfortunately I have two small issues with it:

  1. In front of each section I've adde an icon bat also the gitlab code coresponding of it like : zap : or : rocket : and none of those icons appear on the CHANGELOG.md
  2. Version tag is for some weird reasons duplicates. For example in the gitlab commit I see 1.5.0 with bug fixes and features and right after that I see another 1.5.0 tag which is empty. That second 1.5.0 should not exist like at all
# [1.5.0](https://gitlab.com/sssss/automations/compare/v1.4.0...v1.5.0) (2024-08-03)


### Bug Fixes

* Drop extra 2 lines ([3415399](https://gitlab.com/sssss/automations/commit/99d9e0401aadbf38a253f581e47d22e28d4))
* Drop extra 2 lines ([7af4027](https://gitlab.com/sssss/automations/commit/7afa63d47e9b916b3c64e7e4b04860e6e9))


### Features

* Add releaserc ([3415399](https://gitlab.com/sssss/automations/commit/3419d9e0401aadbf38a253f581e44))
* Add releaserc ([7af4027](https://gitlab.com/sssss/automations/commit/7af47baa63d47e9b916b3c04860e6e9))
* Add skip ci ([3415399](https://gitlab.com/sssss/automations/commit/3499d9e0401aadbf38a253f581e47d22e28d4))
* Add skip ci ([7af4027](https://gitlab.com/sssss/automations/commit/7af40baa63d47e9b916b04860e6e9))
* Update sections ([3415399](https://gitlab.com/sssss/automations/commit/340401aadbf38a253f581e47d22e28d4))
* Update sections ([7af4027](https://gitlab.com/sssss/automations/commit/7af40277e9b916b3c64e7e4b04860e6e9))





## [1.5.0](https://gitlab.com/sssss/automations/compare/v1.4.0...v1.5.0) (2024-08-03)

# [1.4.0](https://gitlab.com/sssss/automations/compare/v1.3.1...v1.4.0) (2024-08-03)

My .releaserc.yml file is following:

plugins: [
  [
    "semantic-release-unsquash",
    {
      preset: "conventionalcommits",
      releaseRules: [
        {
          breaking: true,
          release: "major",
        },
        {
          type: "perf",
          release: "major",
        },
        {
          type: "zap",
          release: "major",
        },
        {
          type: "feat",
          release: "minor",
        },
        {
          type: "fix",
          release: "patch",
        },
        {
          type: "fixed",
          release: "patch",
        },
        {
          type: "docs",
          scope: "README",
          release: "patch",
        },
        {
          type: "chore",
          release: "patch",
        },
        {
          type: "refactor",
          release: "minor",
        }
      ],
      parserOpts: {
        noteKeywords: [ "BREAKING CHANGE", "BREAKING CHANGES", "BREAKING" ],
      },
    },
  ],
  [
    "@semantic-release/release-notes-generator",
    {
      preset: "conventionalcommits",
      presetConfig: {
        types: [
          { type: "feat", section: "🎉Features", hidden: false },
          { type: "perf", section: "⚡️Performance", hidden: false },
          { type: "zap", section: "⚡️Performance", hidden: false },
          { type: "fix", section: "🐛Bug Fixes", hidden: false },
          { type: "fixed", section: "🐛Bug Fixes", hidden: false },
          { type: "docs", section: "📝 Docs", hidden: false },
          { type: "chore", section: "🔧Miscellaneous Chores", hidden: false },
          { type: "refactor", section: "🔧Refactor", hidden: false },
        ],
      },
      parserOpts: {
        noteKeywords: [ "BREAKING CHANGE", "BREAKING CHANGES", "BREAKING" ],
      },
    }
  ],
  "@semantic-release/gitlab",
  "@semantic-release/changelog",
  [
    "@semantic-release/git",
    {
      "assets": [ "*.md", "deployment/prod", "deployment/dev" ],
      "message": ":tada: Update changelog and release version v${nextRelease.version} [skip ci]"
    }
  ]
]
branches: [ "main", "next" ]
tagFormat: "v${version}"

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