Skip to content

The version in the galaxy.yml should match the release tag #18

@vikas027

Description

@vikas027

I am installing the collection as follows in GitHub Actions. The head 07d4193 is correct, but since we have 1.0.0 pinned down in galaxy.yml, we see 1.0.0 installed instead of 1.1.3.

❯ cat requirements.yml                    
---
collections:
  - name: infisical.vault
    type: git
    source: https://github.com/infisical/ansible-collection.git
    version: "1.1.3"

❯ ansible-galaxy collection install -r  requirements.yml 
Cloning into '/home/runner/.ansible/tmp/ansible-local-23809cuo8ls8/tmp0gzsvg5f/ansible-collection3umroo7g'...
Note: switching to '1.1.3'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
  git switch -c <new-branch-name>
Or undo this operation with:
  git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 07d4193 Update README.md
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Installing 'infisical.vault:1.0.0' to '/home/runner/.ansible/collections/ansible_collections/infisical/vault'
Created collection for infisical.vault:1.0.0 at /home/runner/.ansible/collections/ansible_collections/infisical/vault
infisical.vault:1.0.0 was installed successfully
infisical.vault                          1.0.0  

NOTE: I am deliberately not using the below format as galaxy actions randomly throws 500 errors.

---
collections:
  - name: infisical.vault
    version: "1.1.3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions