Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #34 from secrethub/feature/secrethub-app-info
Browse files Browse the repository at this point in the history
Pass app info when using CLI
  • Loading branch information
florisvdg authored May 12, 2020
2 parents 784f1bf + f99ac67 commit ec93eb7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches:
- release/v*

jobs:
bump-version:
name: Bump version in YAML
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Bump version
uses: florisvdg/[email protected]
with:
sed: 's/\(SECRETHUB_APP_INFO_VERSION: \).*/\1$VERSION/g'
file: src/commands/exec.yml
author_email: [email protected]
5 changes: 4 additions & 1 deletion src/commands/exec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ parameters:
description: Title of the step to show in the CircleCI UI
version:
type: string
default: '0.36.0'
default: '0.38.0'
description: Version of the SecretHub CLI
flags:
type: string
Expand All @@ -24,3 +24,6 @@ steps:
command: secrethub run << parameters.flags >> -- $SHELL -c '<< parameters.command >>'
environment:
SECRETHUB_RUN_NO_PROMPT: true
SECRETHUB_APP_INFO_NAME: secrethub-circleci-orb
# Version is automatically bumped on release branches
SECRETHUB_APP_INFO_VERSION: 1.0.0

0 comments on commit ec93eb7

Please sign in to comment.