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 alias command for xconv.yaml tasks #4

Open
danroxha opened this issue Jul 31, 2022 · 0 comments
Open

add alias command for xconv.yaml tasks #4

danroxha opened this issue Jul 31, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@danroxha
Copy link
Owner

Description

New feature makes it possible to call tasks from xconv.yaml without the need to bind to an existing command.

script:
    tasks:
      - name: push current tag
        enable: true
        language: sh
        bind: bump
        when: after
        alias:  send
        description: push current tag to remote repository
        script: |
          CURRENT_TAG=$(xc tag current --format=%V)
          git push origin $CURRENT_TAG

Usage:

xc send

Help:

NAME:
   send - push current tag to remote repository

USAGE:
  xc send 
@danroxha danroxha added the enhancement New feature or request label Jul 31, 2022
@danroxha danroxha self-assigned this Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant