fregante/daily-version-action

Option: Create output but not git tag

Open

#25 opened on Oct 27, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (5 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (22 stars)
PR merge metrics
 (Avg merge 2d 3h) (1 merged PR in 30d)

Description

I'd like to perform additional tasks before creating the tag or maybe use a separate action to create and submit it. Example:

  Version:
    steps:
    - uses: actions/checkout@v2
    - name: Should release?
      uses: fregante/daily-version-action@v2
      with:
        create-git-tag: false
    - if: env.DAILY_VERSION_CREATED
      run: npm version $DAILY_VERSION

Maybe it should be called dry-run

Contributor guide