Skip to content

Commit

Permalink
fix: release action scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
  • Loading branch information
khos2ow committed Sep 9, 2024
1 parent 0c2e582 commit cca78c2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ jobs:
ref: main
fetch-depth: 0

- name: Get variables
run: |
release_version="${{ inputs.version }}"
echo "release_version=${release_version//v/}" >> "$GITHUB_ENV"
- name: Login to Docker
uses: docker/login-action@v3
if: env.REGISTRY_USERNAME != ''
Expand Down Expand Up @@ -89,6 +94,11 @@ jobs:
fetch-depth: 0
token: ${{ secrets.COMMITTER_TOKEN }}

- name: Get variables
run: |
release_version="${{ inputs.version }}"
echo "release_version=${release_version//v/}" >> "$GITHUB_ENV"
- name: Cut v${{ env.release_version }} Release
run: |
git config --global user.name terraform-docs-bot
Expand Down

0 comments on commit cca78c2

Please sign in to comment.