Skip to content

Commit

Permalink
Merge pull request #13 from jamie1192/fix/step-docs
Browse files Browse the repository at this point in the history
[#12] fix step summaries
  • Loading branch information
jamieastley authored Feb 6, 2021
2 parents 1c771e3 + ea3c230 commit 9da9a20
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 14 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## [1.2.1] - 6th Feb 2021

* fix summaries within `step.yml`

## [1.2.0] - 24th Jan 2021

* MessageCard customisation
* ability to override each text field within the card
* defaults to Bitrise environment variables if custom values not set
* Migration to Go Modules
* Unit tests and GitHub Actions CI checks

## [1.1.0] - 13th Jan 2021

* Added new user input to override `$GIT_REPOSITORY_URL` for SSH Bitrise projects.

## [1.0.2] 12th Jan 2021

* Fixed URI buttons not appearing in Teams card
Expand Down
4 changes: 2 additions & 2 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
# An example secret param, define it (A_SECRET_PARAM) in .bitrise.secrets.yml
- STEP_VERSION: 1.1.0
- STEP_VERSION: 1.2.1
# If you want to share this step into a StepLib
- BITRISE_STEP_ID: microsoft-teams-integration
- BITRISE_STEP_VERSION: "1.1.0"
- BITRISE_STEP_VERSION: "1.2.1"
- BITRISE_STEP_GIT_CLONE_URL: https://github.com/amrfarid140/bitrise-step-microsoft-teams-integration.git
- MY_STEPLIB_REPO_FORK_GIT_URL: https://github.com/amrfarid140/bitrise-steplib.git

Expand Down
24 changes: 12 additions & 12 deletions step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ toolkit:
go:
package_name: github.com/amrfarid140/bitrise-step-microsoft-teams-integration
inputs:
- card_title:
- card_title: $BITRISE_APP_TITLE
opts:
title: "Card Title"
subtitle: "The heading text at the top of the MessageCard"
summary: "The heading text at the top of the MessageCard"
description: |
Primary MessageCard title text.
Expand All @@ -36,7 +36,7 @@ inputs:
- enable_debug: false
opts:
title: "Enable debug logging"
subtitle: "Toggles whether to log debug info to the build output"
summary: "Toggles whether to log debug info to the build output"
description: |
Enables debug logging to the Bitrise console.
Expand All @@ -46,7 +46,7 @@ inputs:
opts:
category: "Theme Customisation"
title: "Theme Color - Build Success"
subtitle: "Sets the cards theme color to the given hex value for successful builds"
summary: "Sets the cards theme color to the given hex value for successful builds"
description: |
Given value should be a hexadecimal color, minus the leading `#`.
Expand All @@ -56,7 +56,7 @@ inputs:
opts:
category: "Theme Customisation"
title: "Theme Color - Build Failed"
subtitle: "Sets the cards theme color to the given hex value for failed builds"
summary: "Sets the cards theme color to the given hex value for failed builds"
description: |
Given value should be a hexadecimal color, minus the leading `#`.
Expand All @@ -66,7 +66,7 @@ inputs:
opts:
category: "Markdown Rules"
title: "Primary Section Markdown"
subtitle: "Sets whether the text fields within the MessageCard's first section should render Markdown text"
summary: "Sets whether the text fields within the MessageCard's first section should render Markdown text"
description: |
Sets whether to enable Markdown rendering for the each field of the first section of the MessageCard.
Expand All @@ -79,7 +79,7 @@ inputs:
opts:
category: "Markdown Rules"
title: "Build Status Facts Markdown"
subtitle: "Sets whether each of the facts should render their values as Markdown text"
summary: "Sets whether each of the facts should render their values as Markdown text"
description: |
Sets whether to enable Markdown rendering for the default Facts within the MessageCard.
Expand All @@ -94,7 +94,7 @@ inputs:
opts:
category: "MessageCard Content"
title: "Section Title"
subtitle: "Text that is displayed within the MessageCard Section `activityTitle`"
summary: "Text that is displayed within the MessageCard Section `activityTitle`"
description: |
Sets the text value of `activityTitle` within the primary Section of the MessageCard.
Expand All @@ -104,7 +104,7 @@ inputs:
opts:
category: "MessageCard Content"
title: "Section Subtitle"
subtitle: "Text that is displayed within the MessageCard Section `activitySubtitle`"
summary: "Text that is displayed within the MessageCard Section `activitySubtitle`"
description: |
Sets the text value of `activitySubtitle` within the primary Section of the MessageCard.
Expand All @@ -114,7 +114,7 @@ inputs:
opts:
category: "MessageCard Content"
title: "Section Text"
subtitle: "Text that is displayed within the MessageCard Section `text`"
summary: "Text that is displayed within the MessageCard Section `text`"
description: |
Sets the text value of `text` within the primary Section of the MessageCard. By default,
this will be set to the commit message body that triggered the build.
Expand All @@ -126,12 +126,12 @@ inputs:
opts:
category: "MessageCard Content"
title: "Section Image"
subtitle: "Image that is displayed within the MessageCard Section `activityImage`"
summary: "Image that is displayed within the MessageCard Section `activityImage`"

- repository_url: $GIT_REPOSITORY_URL
opts:
title: "Repository URL"
subtitle: "Defines a custom repository location"
summary: "Define a custom repository location"
description: |
If no value is given, the step automatically uses the `$GIT_REPOSITORY_URL` var.
Expand Down

0 comments on commit 9da9a20

Please sign in to comment.