diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 411fbd6..a245712 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -44,7 +44,7 @@ jobs: # If the pull request is not merged, do not include the edge tag and only include the sha tag. # https://github.com/docker/metadata-action - name: Extract Docker metadata - uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0 + uses: docker/metadata-action@31cebacef4805868f9ce9a0cb03ee36c32df2ac4 # v5.3.0 with: images: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} @@ -76,7 +76,7 @@ jobs: # https://github.com/docker/build-push-action - name: Build and push Docker image id: build - uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 + uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0 with: context: . platforms: ${{ matrix.platform }} @@ -128,7 +128,7 @@ jobs: # If the pull request is not merged, do not include the edge tag and only include the sha tag. # https://github.com/docker/metadata-action - name: Extract Docker metadata - uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0 + uses: docker/metadata-action@31cebacef4805868f9ce9a0cb03ee36c32df2ac4 # v5.3.0 with: images: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} diff --git a/.github/workflows/keyfactor-bootstrap-workflow.yml b/.github/workflows/keyfactor-bootstrap-workflow.yml new file mode 100644 index 0000000..eddfbf2 --- /dev/null +++ b/.github/workflows/keyfactor-bootstrap-workflow.yml @@ -0,0 +1,226 @@ +name: Keyfactor Bootstrap Workflow + +on: + workflow_dispatch: + pull_request: + types: [ opened, closed, synchronize, edited, reopened ] + push: + create: + branches: + - 'release-*.*' + +jobs: + get-versions: + runs-on: ubuntu-latest + outputs: + PR_BASE_REF: ${{ steps.set-outputs.outputs.PR_BASE_REF }} + PR_COMMIT_SHA: ${{ steps.set-outputs.outputs.PR_COMMIT_SHA }} + GITHUB_SHA: ${{ steps.set-outputs.outputs.GITHUB_SHA }} + PR_BASE_TAG: ${{ steps.set-outputs.outputs.PR_BASE_TAG }} + IS_FULL_RELEASE: ${{ steps.set-outputs.outputs.IS_FULL_RELEASE }} + IS_PRE_RELEASE: ${{ steps.set-outputs.outputs.IS_PRE_RELEASE }} + INC_LEVEL: ${{ steps.set-outputs.outputs.INC_LEVEL }} + IS_RELEASE_BRANCH: ${{ steps.set-outputs.outputs.IS_RELEASE_BRANCH }} + IS_HOTFIX: ${{ steps.set-outputs.outputs.IS_HOTFIX }} + LATEST_TAG: ${{ steps.set-outputs.outputs.LATEST_TAG }} + NEXT_VERSION: ${{ steps.set-outputs.outputs.NEW_PKG_VERSION }} + + steps: + - name: Check out the code + uses: actions/checkout@v3 + with: + token: ${{ secrets.V2BUILDTOKEN}} + + - name: Display base.ref from Pull Request + if: github.event_name == 'pull_request' + id: display-from-pr + run: | + echo "Event: ${{ github.event_name }}" | tee -a $GITHUB_STEP_SUMMARY + echo "Event Action: ${{ github.event.action }}" | tee -a $GITHUB_STEP_SUMMARY + echo "PR_BASE_REF=${{ github.event.pull_request.base.ref }}" | tee -a "$GITHUB_ENV" | tee -a $GITHUB_STEP_SUMMARY + echo "PR_STATE=${{ github.event.pull_request.state }}" | tee -a "$GITHUB_ENV" | tee -a $GITHUB_STEP_SUMMARY + echo "PR_MERGED=${{ github.event.pull_request.merged }}" | tee -a "$GITHUB_ENV" | tee -a $GITHUB_STEP_SUMMARY + echo "PR_COMMIT_SHA=${{ github.event.pull_request.merge_commit_sha }}" | tee -a "$GITHUB_ENV" | tee -a $GITHUB_STEP_SUMMARY + echo "GITHUB_SHA=${{ github.sha }}" | tee -a "$GITHUB_ENV" | tee -a $GITHUB_STEP_SUMMARY + baseref="${{ github.event.pull_request.base.ref }}" + basetag="${baseref#release-}" + echo "PR_BASE_TAG=$basetag" | tee -a "$GITHUB_ENV" | tee -a $GITHUB_STEP_SUMMARY + + - name: Display base_ref from Push Event + if: github.event_name == 'push' + id: display-from-push + run: | + echo "Branch Ref: ${{ github.ref }}" | tee -a $GITHUB_STEP_SUMMARY + echo "Event: ${{ github.event_name }}" | tee -a $GITHUB_STEP_SUMMARY + echo "github.sha: ${{ github.sha }}" | tee -a $GITHUB_STEP_SUMMARY + + - name: Find Latest Tag + if: github.event_name == 'pull_request' + id: find-latest-tag + run: | + prbasetag="${{env.PR_BASE_TAG}}" + git fetch --tags + if [[ -n `git tag` ]]; then + echo "Setting vars" + allBranchTags=`git tag --sort=-v:refname | grep "^$prbasetag" || echo ""` + allRepoTags=`git tag --sort=-v:refname` + branchTagBase=`git tag --sort=-v:refname | grep "^$prbasetag" | grep -o '^[0-9.]*' | head -n 1 || echo ""` + latestTagBase=`git tag --sort=-v:refname | grep -o '^[0-9.]*' | head -n 1` + latestBranchTag=`git tag --sort=-v:refname | grep "^$prbasetag" | grep "^$branchTagBase" | head -n 1 || echo ""` + latestReleasedTag=`git tag --sort=-v:refname | grep "^$prbasetag" | grep "^$branchTagBase$" | head -n 1 || echo ""` + + # If the *TagBase values are not found in the list of tags, it means no final release was produced, and the latest*Tag vars will be empty + if [[ -z "$latestReleasedTag" ]]; then + latestTag="$latestBranchTag" + else + latestTag="$latestReleasedTag" + fi + echo "LATEST_TAG=${latestTag}" | tee -a "$GITHUB_ENV" + + if [[ "$latestTagBase" == *"$branchTagBase" ]]; then + hf="False" + else + hf="True" + fi + + # The intention is to use this to set the make_latest:false property when + # dispatching the create-release action, but it is not *yet* a configurable option + echo "IS_HOTFIX=$hf" | tee -a "$GITHUB_ENV" + else + echo "No tags exist in this repo" + echo "LATEST_TAG=" | tee -a "$GITHUB_ENV" + fi + - name: Set Outputs + id: set-outputs + run: | + echo "PR_BASE_REF=${{ env.PR_BASE_REF }}" | tee -a "$GITHUB_OUTPUT" + echo "PR_STATE=${{ env.PR_STATE }}" + echo "PR_MERGED=${{ env.PR_MERGED }}" + if [[ "${{ env.PR_STATE }}" == "closed" && "${{ env.PR_MERGED }}" == "true" && "${{ env.PR_COMMIT_SHA }}" == "${{ env.GITHUB_SHA }}" ]]; then + echo "IS_FULL_RELEASE=True" | tee -a "$GITHUB_OUTPUT" + echo "INC_LEVEL=patch" | tee -a "$GITHUB_OUTPUT" + fi + if [[ "${{ env.PR_STATE }}" == "open" ]]; then + echo "IS_PRE_RELEASE=True" | tee -a "$GITHUB_OUTPUT" | tee -a "$GITHUB_ENV" + echo "INC_LEVEL=prerelease" | tee -a "$GITHUB_OUTPUT" + fi + if [[ "${{ env.PR_BASE_REF }}" == "release-"* ]]; then + echo "IS_RELEASE_BRANCH=True" | tee -a "$GITHUB_OUTPUT" | tee -a "$GITHUB_ENV" + fi + echo "PR_COMMIT_SHA=${{ env.PR_COMMIT_SHA }}" | tee -a "$GITHUB_OUTPUT" + echo "GITHUB_SHA=${{ env.GITHUB_SHA }}" | tee -a "$GITHUB_OUTPUT" + echo "PR_BASE_TAG=${{ env.PR_BASE_TAG }}" | tee -a "$GITHUB_OUTPUT" + echo "IS_HOTFIX=${{ env.IS_HOTFIX }}" | tee -a "$GITHUB_OUTPUT" + echo "LATEST_TAG=${{ env.LATEST_TAG }}" | tee -a "$GITHUB_OUTPUT" + + check-package-version: + needs: get-versions + if: github.event_name == 'pull_request' && needs.get-versions.outputs.IS_RELEASE_BRANCH == 'True' + outputs: + release_version: ${{ steps.create_release.outputs.current_tag }} + release_url: ${{ steps.create_release.outputs.upload_url }} + update_version: ${{ steps.check_version.outputs.update_version }} + next_version: ${{ steps.set-semver-info.outputs.new_version }} + runs-on: ubuntu-latest + steps: + - name: Check out the code + uses: actions/checkout@v3 + - run: | + echo "INC_LEVEL=${{ needs.get-versions.outputs.INC_LEVEL}}" + - name: Check if initial release + if: needs.get-versions.outputs.LATEST_TAG == '' + run: | + echo "INITIAL_VERSION=${{needs.get-versions.outputs.PR_BASE_TAG}}.0-rc.0" | tee -a "$GITHUB_STEP_SUMMARY" | tee -a "$GITHUB_ENV" + echo "MANUAL_VERSION=${{needs.get-versions.outputs.PR_BASE_TAG}}.0-rc.0" | tee -a "$GITHUB_ENV" + - name: Set semver info + id: set-semver-info + if: needs.get-versions.outputs.LATEST_TAG != '' + uses: fiddlermikey/action-bump-semver@main + with: + current_version: ${{ needs.get-versions.outputs.LATEST_TAG}} + level: ${{ needs.get-versions.outputs.INC_LEVEL}} + preID: rc + - name: Show next sem-version + if: needs.get-versions.outputs.LATEST_TAG != '' + run: | + echo "MANUAL_VERSION=${{ steps.set-semver-info.outputs.new_version }}" > "$GITHUB_ENV" + - run: | + echo "Next version: ${{ env.MANUAL_VERSION }}" | tee -a "$GITHUB_STEP_SUMMARY" + + - name: Get Package Version + id: get-pkg-version + run: | + pwd + ls -la + echo "CURRENT_PKG_VERSION=$(cat pkg/version/version.go | grep 'const VERSION' | awk '{print $NF}' | tr -d '"')" | tee -a "$GITHUB_ENV" + - name: Compare package version + id: check_version + run: | + if [ "${{ env.CURRENT_PKG_VERSION }}" != "${{ env.MANUAL_VERSION }}" ]; then + echo "Updating version in version.go" + echo "update_version=true" | tee -a $GITHUB_ENV | tee -a $GITHUB_OUTPUT + echo "update_version=true" | tee -a "$GITHUB_STEP_SUMMARY" + else + echo "Versions match, no update needed" + echo "update_version=false" | tee -a $GITHUB_ENV | tee -a $GITHUB_OUTPUT + echo "update_version=false" | tee -a $GITHUB_STEP_SUMMARY + fi + env: + UPDATE_VERSION: ${{ steps.check_version.outputs.update_version }} + + - name: Set Outputs + id: set-outputs + if: needs.get-versions.outputs.LATEST_TAG != '' + run: | + echo "UPDATE_VERSION=${{ steps.check_version.outputs.update_version }}" | tee -a "$GITHUB_OUTPUT" + echo "CURRENT_PKG_VERSION=${{ env.CURRENT_PKG_VERSION }}" | tee -a "$GITHUB_OUTPUT" + echo "MANUAL_VERSION=${{ env.MANUAL_VERSION }}" | tee -a "$GITHUB_OUTPUT" + echo "NEW_PKG_VERSION=${{ env.MANUAL_VERSION }}" | tee -a "$GITHUB_OUTPUT" + + update-pkg-version: + needs: + - check-package-version + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + token: ${{ secrets.V2BUILDTOKEN}} + - name: No Update + if: ${{ needs.check-package-version.outputs.update_version != 'true' }} + run: | + echo "Versions match, no update needed" + exit 0 + + - name: Commit to PR branch + id: commit-version + if: ${{ needs.check-package-version.outputs.update_version == 'true' }} + env: + AUTHOR_EMAIL: keyfactor@keyfactor.github.io + AUTHOR_NAME: Keyfactor Robot + GITHUB_TOKEN: ${{ secrets.V2BUILDTOKEN}} + run: | + git remote -v + echo "Checking out ${{ github.head_ref }}" + git fetch + echo "git checkout -b ${{ github.head_ref }}" + git checkout -b ${{ github.head_ref }} + git reset --hard origin/${{ github.head_ref }} + sed -i "s/const VERSION = .*/const VERSION = \"${{ needs.check-package-version.outputs.next_version }}\"/" pkg/version/version.go + git add pkg/version/version.go + git config --global user.email "${{ env.AUTHOR_EMAIL }}" + git config --global user.name "${{ env.AUTHOR_NAME }}" + git commit -m "Bump package version to ${{ needs.check-package-version.outputs.next_version }}" + git push --set-upstream origin ${{ github.head_ref }} + echo "Version mismatch! Please create a new pull request with the updated version." + exit 1 + + call-starter-workflow: + uses: keyfactor/actions/.github/workflows/starter.yml@v2 + needs: update-pkg-version + secrets: + token: ${{ secrets.V2BUILDTOKEN}} + APPROVE_README_PUSH: ${{ secrets.APPROVE_README_PUSH}} + gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }} + gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }} \ No newline at end of file diff --git a/.github/workflows/keyfactor-starter-workflow.yml b/.github/workflows/keyfactor-starter-workflow.yml deleted file mode 100644 index a3e51bb..0000000 --- a/.github/workflows/keyfactor-starter-workflow.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Keyfactor Bootstrap Workflow - -on: - workflow_dispatch: - pull_request: - types: [opened, closed, synchronize, edited, reopened] - push: - create: - branches: - - 'release-*.*' - -jobs: - call-starter-workflow: - uses: keyfactor/actions/.github/workflows/starter.yml@v2 - secrets: - token: ${{ secrets.V2BUILDTOKEN}} - APPROVE_README_PUSH: ${{ secrets.APPROVE_README_PUSH}} - gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }} - gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }} - diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 85bbfca..02735b9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,10 +1,13 @@ name: go tests on: - push: + workflow_run: + workflows: + - "Check and Update Package Version" + types: + - completed branches: - "*" - workflow_dispatch: jobs: build: @@ -13,7 +16,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: "1.21" - name: Install dependencies @@ -278,7 +281,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: "1.20" - name: Install dependencies @@ -304,7 +307,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: "1.20" - name: Install dependencies @@ -330,7 +333,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: "1.20" - name: Install dependencies @@ -431,7 +434,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: "1.20" - name: Install dependencies @@ -475,7 +478,7 @@ jobs: # Setup GoLang build environment # https://github.com/actions/setup-go - name: Set up Go 1.x - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version-file: 'go.mod' cache: true diff --git a/.github/workflows/update-stores.yml b/.github/workflows/update-stores.yml index 3d50e2f..94d4061 100644 --- a/.github/workflows/update-stores.yml +++ b/.github/workflows/update-stores.yml @@ -30,7 +30,7 @@ jobs: echo "KFUTIL_ARG=${{ github.event.client_payload.targetRepo }}" | tee -a $GITHUB_ENV - name: Check Open PRs for Existing Branch id: check-branch - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | // Look for open pull requests @@ -175,7 +175,7 @@ jobs: - name: Create new PR for the newly created branch if: env.UPDATE_FILE == 'T' && env.PR_BRANCH == 'create' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | console.log(`Created ${{env.KFUTIL_ARG}} `) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31a9970..4168c44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v1.3.2 + +### Package +- Bump deps `cobra` version to `v1.8.0`, `azcore` version to `v1.9.0`, `pty` version to `v1.1.21` + # v1.3.1 ## Bug Fixes diff --git a/go.mod b/go.mod index 07002a9..de9760d 100644 --- a/go.mod +++ b/go.mod @@ -4,19 +4,19 @@ go 1.21 require ( github.com/AlecAivazis/survey/v2 v2.3.7 - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.8.0 + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.0 github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 github.com/Jeffail/gabs v1.4.0 github.com/Keyfactor/keyfactor-go-client-sdk v1.0.2 github.com/Keyfactor/keyfactor-go-client/v2 v2.1.4 github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 - github.com/creack/pty v1.1.18 + github.com/creack/pty v1.1.21 github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.4.0 github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 github.com/joho/godotenv v1.5.1 github.com/rs/zerolog v1.31.0 - github.com/spf13/cobra v1.7.0 + github.com/spf13/cobra v1.8.0 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.8.4 golang.org/x/crypto v0.14.0 @@ -25,9 +25,9 @@ require ( ) require ( - github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.0 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v1.1.1 // indirect - github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/golang-jwt/jwt/v5 v5.0.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect diff --git a/go.sum b/go.sum index e6f7980..cd50a0a 100644 --- a/go.sum +++ b/go.sum @@ -1,11 +1,11 @@ github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.8.0 h1:9kDVnTz3vbfweTqAUmk/a/pH5pWFCHtvRpHYC0G/dcA= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.8.0/go.mod h1:3Ug6Qzto9anB6mGlEdgYMDF5zHQ+wwhEaYR4s17PHMw= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.0 h1:fb8kj/Dh4CSwgsOzHeZY4Xh68cFVbzXx+ONXGMY//4w= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.0/go.mod h1:uReU2sSxZExRPBAg3qKzmAucSi51+SP1OhohieR821Q= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 h1:BMAjVKJM0U/CYF27gA0ZMmXGkOcvfFtD0oHVZ1TIPRI= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0/go.mod h1:1fXstnBMas5kzG+S3q8UoJcmyU6nUeunJcMDHcRYHhs= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 h1:sXr+ck84g/ZlZUOZiNELInmMgOsuGwdjjVkEIde0OtY= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0/go.mod h1:okt5dMMTOFjX/aovMlrjvvXoPMBVSPzk9185BT0+eZM= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.0 h1:d81/ng9rET2YqdVkVwkb6EXeRrLJIwyGnJcAlAWKwhs= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.0/go.mod h1:s4kgfzA0covAXNicZHDMN58jExvcng2mC/DepXiF1EI= github.com/AzureAD/microsoft-authentication-library-for-go v1.1.1 h1:WpB/QDNLpMw72xHJc34BNNykqSOeEJDAWkhf0u12/Jk= github.com/AzureAD/microsoft-authentication-library-for-go v1.1.1/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= github.com/Jeffail/gabs v1.4.0 h1://5fYRRTq1edjfIrQGvdkcd22pkYUrHZ5YC/H2GJVAo= @@ -19,11 +19,11 @@ github.com/Keyfactor/keyfactor-go-client/v2 v2.1.4/go.mod h1:3mfxdcwntB532QIATok github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= -github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.3 h1:qMCsGGgs+MAzDFyp9LpAe1Lqy/fY/qCovCm0qnXZOBM= +github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= -github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= -github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= +github.com/creack/pty v1.1.21 h1:1/QdRyBaHHJP61QkWMXlOIBfsgdDeeKfK8SYVUWJKf0= +github.com/creack/pty v1.1.21/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -68,8 +68,8 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/spbsoluble/go-pkcs12 v0.3.3 h1:3nh7IKn16RDpmrSMtOu1JvbB0XHYq1j+IsICdU1c7J4= github.com/spbsoluble/go-pkcs12 v0.3.3/go.mod h1:MAxKIUEIl/QVcua/I1L4Otyxl9UvLCCIktce2Tjz6Nw= -github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= -github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= +github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= diff --git a/pkg/version/version.go b/pkg/version/version.go index 39cf4b2..498aba2 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -14,4 +14,4 @@ package version -const VERSION = "v1.3.1" +const VERSION = "1.3.2-rc.21"