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

chore(deps): update dependency semantic-release-jira to v3 #4906

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mesosphere-renovate
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
semantic-release-jira devDependencies major 1.2.4 -> 3.0.0

Release Notes

juliangieseke/semantic-release-jira

v3.0.0

Compare Source

Bug Fixes
  • handle null/empty responses (138c0ef)
  • run actions in sequence (b5390e4)
Features
  • allow multiple actions per issue (7b7469b)
BREAKING CHANGES
  • this changes the config format, new format is:

    {
    "auth": {
    "type": "Bearer",
    "userEnvVar": "JIRA_USER",
    "passEnvVar": "JIRA_PASS",
    "tokenEnvVar": undefined
    }
    "actions": [
    {
    "method": "POST",
    "url": "https://jira.example.com/rest/api/2/versions",
    "body": '{ "name": "${version}", "archived": false, "released": true, "project": "${project}"}'
    },
    {
    "method": "PUT",
    "url": "https://jira.example.com/rest/api/2/issues/${issueKey}",
    "body": '{"update":{"labels":[{"add":"some-component:${version}"}]}}'
    },
    {
    "method": "PUT",
    "url": "https://jira.example.com/rest/api/2/issues/${issueKey}",
    "body": '{"update":{"fixVersions":[{"add":{"name":"Some Component ${version}"}}]}}'
    },
    {
    "method":"POST",
    "url": "https://jira.d2iq.com/rest/api/2/issue/${issueKey}/transitions",
    "body": '{"transition":{"id":151}}'
    }
    ]
    }

v2.0.2

Compare Source

Bug Fixes

v2.0.1

Compare Source

Bug Fixes

v2.0.0

Compare Source

Features
  • switch from label to fixVersion (61f71cd)
BREAKING CHANGES
  • This change changes the plugin behavior from label based to fixVersion based, the new necessary config looks like this:
    {
    "versionTmpl": "Some UI ${version}",
    "apiURL": "https://jira.example.com/rest/api/2/"
    }

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

@juliangieseke
Copy link
Contributor

CI being green is misleading since theres no CI check for that package in place 🙊

@pierrebeitz
Copy link
Contributor

@juliangieseke can you help in upgrading us?

@juliangieseke juliangieseke changed the title chore(deps): update dependency semantic-release-jira to v3 rebase! chore(deps): update dependency semantic-release-jira to v3 Oct 14, 2020
@mesosphere-renovate mesosphere-renovate changed the title rebase! chore(deps): update dependency semantic-release-jira to v3 chore(deps): update dependency semantic-release-jira to v3 Oct 14, 2020
@juliangieseke
Copy link
Contributor

hm, updateing semantic-release-jira is easy, but the .releaserc file in this repo has the old format and Im not 100% sure it would need to look like. in the new format, config should look like this:

[
      "semantic-release-jira",
      {
        "auth": {
          "type": "Basic",
          "userEnvVar": "JIRA_USER",
          "passEnvVar": "JIRA_PASS"
        },
        "actions": [
          {
            "method": "POST",
            "url": "https://jira.d2iq.com/rest/api/2/version",
            "body": "{ \"name\": \"DC/OS UI ${version}\", \"archived\": false, \"released\": true, \"project\": \"${project}\"}"
          },
          {
            "method": "PUT",
            "url": "https://jira.d2iq.com/rest/api/2/issue/${issueKey}",
            "body": "{\"update\":{\"labels\":[{\"add\":\"dcos-ui:${version}\"}], \"fixVersions\":[{\"add\":{\"name\":\"DC/OS UI ${version}\"}}]}}"
          }
        ]
      }
    ]

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

Successfully merging this pull request may close these issues.

5 participants