Skip to content

Commit

Permalink
Merge pull request #18 from hitachi-vantara/pre-version
Browse files Browse the repository at this point in the history
Pre version
  • Loading branch information
rsahuHitachi authored Jun 14, 2024
2 parents fc1d6bd + 4f9f75d commit 31180cd
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 @@ -60,10 +60,10 @@ jobs:
# 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/" -H "Authorization: Token $API_KEY"
# Sleep for 60 seconds to ensure the deletion is processed
# sleep 60
sleep 60
# Publish the collection
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace ghcr.io/${{ github.repository_owner }}/ansible-image:latest ansible-galaxy collection publish *.tar.gz --api-key $API_KEY
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
version: 3.0.1
readme: README.md
authors:
- Hitachi Vantara Ansible Team
Expand Down

0 comments on commit 31180cd

Please sign in to comment.