Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script to release action which creates submodules tags #120

Open
kozmod opened this issue Mar 5, 2024 · 0 comments
Open

Add script to release action which creates submodules tags #120

kozmod opened this issue Mar 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request hold Extra discussion is needed

Comments

@kozmod
Copy link
Owner

kozmod commented Mar 5, 2024

Description

Need to add submodules tags automatically. Try to use actions/github-script@v7:

      - name: Set submodule tags
        uses: actions/github-script@v7
        with:
          script: |
            const creator = github.ref_name
            let submodules: string[] = ['stdlib', 'pgx', 'sqlx', 'gorm'];
            
            for (const submodule of submodules) {
              echo 'refs/tags/${{ ref_name }}'
            }
@kozmod kozmod added the enhancement New feature or request label Mar 5, 2024
@kozmod kozmod self-assigned this Mar 5, 2024
@kozmod kozmod added the hold Extra discussion is needed label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hold Extra discussion is needed
Projects
None yet
Development

No branches or pull requests

1 participant