Skip to content

Commit

Permalink
Merge pull request #27 from hitachi-vantara/pre-version
Browse files Browse the repository at this point in the history
updated the code
  • Loading branch information
rsahuHitachi authored Jun 14, 2024
2 parents 263607b + eee715a commit d1ddc58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ jobs:
- name: Publish to Ansible Galaxy
env:
COLLECTION_NAME: "hitachivantara.vspone_block"
VERSION: "3.0.1"
VERSION: "3.0.0-111"
API_KEY: ${{ secrets.ANSIBLE_COLLECTIONS_TOKEN }}
run: |
# Attempt to delete the existing collection (if supported)
# Note: This step requires API support for deletion
# Uncomment the line below if your Galaxy server supports API deletion
curl -X DELETE "https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/hitachivantara/vspone_block/" -H "Authorization: Token $API_KEY"
curl -X DELETE "https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/hitachivantara/vspone_block/versions/{VERSION}" -H "Authorization: Token $API_KEY"
# Sleep for 60 seconds to ensure the deletion is processed
sleep 60
Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace: hitachivantara
name: vspone_block
version: 3.0.0-111
version: 3.0.111
readme: README.md
authors:
- Hitachi Vantara Ansible Team
Expand Down

0 comments on commit d1ddc58

Please sign in to comment.