diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml new file mode 100644 index 0000000..5fea3c0 --- /dev/null +++ b/.github/workflows/bump-version.yml @@ -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/action-version-bump@v0.1.0 + with: + sed: 's/\(SECRETHUB_APP_INFO_VERSION: \).*/\1$VERSION/g' + file: src/commands/exec.yml + author_email: bender.github@secrethub.io diff --git a/src/commands/exec.yml b/src/commands/exec.yml index fa96c44..ec79c05 100755 --- a/src/commands/exec.yml +++ b/src/commands/exec.yml @@ -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 @@ -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