Skip to content

Commit

Permalink
Merge pull request #732 from splunk/update-release-artifact-upload
Browse files Browse the repository at this point in the history
Update release workflow logic
  • Loading branch information
smohan-splunk authored Apr 13, 2022
2 parents 5e6e355 + 2281d9e commit be424de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/automated-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Create Release
uses: ncipollo/release-action@40bb172bd05f266cf9ba4ff965cb61e9ee5f6d01
with:
artifacts: "release-${{ env.SHORT_SHA }}/splunk-operator-install.yaml,release-${{ env.SHORT_SHA }}/splunk-operator-cluster.yaml,release-${{ env.SHORT_SHA }}/splunk-operator-noadmin.yaml,release-${{ env.SHORT_SHA }}/splunk-operator-crds.yaml"
artifacts: "release-${{ github.event.inputs.release_version }}/splunk-operator-install.yaml"
bodyFile: "docs/ReleaseNotes.md"
tag: "${{ github.event.inputs.release_version }}"
draft: true
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/pre-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,6 @@ jobs:
run: |
make generate-artifacts IMG=splunk/splunk-operator:${{ github.event.inputs.release_version }} VERSION=${{ github.event.inputs.release_version }} SPLUNK_ENTERPRISE_IMAGE=splunk/splunk:${{ github.event.inputs.new_enterprise_version }}
- name: Update Operator Image name in Release Folder
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
with:
find: "splunk/splunk-operator:${{ env.SHORT_SHA }}"
replace: "splunk/splunk-operator-rc:${{ github.event.inputs.release_version }}"
include: "release-${{ env.SHORT_SHA }}/**"

- name: Upload Release Artifacts
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
with:
Expand Down

0 comments on commit be424de

Please sign in to comment.