diff --git a/README.md b/README.md index c93125e..e75aba1 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,13 @@ Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plu fastlane action jira_release_notes ``` +[How to generate an API Access Token](https://confluence.atlassian.com/cloud/api-tokens-938839638.html) + Key | Description | Env Var | Default ----|-------------|---------|-------- url | URL for Jira instance | FL_JIRA_SITE | username | Username for Jira instance | FL_JIRA_USERNAME | -password | Password for Jira | FL_JIRA_PASSWORD | +password | Password for Jira or api token | FL_JIRA_PASSWORD | project | Jira project name | FL_JIRA_PROJECT | version | Jira project version | FL_JIRA_PROJECT_VERSION | format | Format text. Plain, html or none | FL_JIRA_RELEASE_NOTES_FORMAT | plain diff --git a/lib/fastlane/plugin/jira_release_notes/actions/jira_release_notes_action.rb b/lib/fastlane/plugin/jira_release_notes/actions/jira_release_notes_action.rb index b3815fd..478df14 100644 --- a/lib/fastlane/plugin/jira_release_notes/actions/jira_release_notes_action.rb +++ b/lib/fastlane/plugin/jira_release_notes/actions/jira_release_notes_action.rb @@ -78,7 +78,7 @@ def self.available_options end), FastlaneCore::ConfigItem.new(key: :password, env_name: "FL_JIRA_PASSWORD", - description: "Password for Jira", + description: "Password or api token for Jira", sensitive: true, verify_block: proc do |value| UI.user_error!("No password") if value.to_s.length == 0