Skip to content

Commit

Permalink
feat: playing around with run id
Browse files Browse the repository at this point in the history
  • Loading branch information
tazarov committed May 9, 2024
1 parent 780ea7a commit d7866a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
current_version=$(node -p "require('./package.json').version")
COMMIT_SHA=$(git rev-parse --short HEAD)
# Generate a beta tag using GitHub run number
# beta_tag="beta.${GITHUB_RUN_NUMBER}"
beta_tag="dev.${COMMIT_SHA}"
# beta_tag="beta.${GITHUB_RUN_ID}"
beta_tag="dev.${COMMIT_SHA}-${GITHUB_RUN_ID}"
# Create full version with beta tag
base_version=$(echo $current_version | cut -f1,2 -d.)
Expand Down

0 comments on commit d7866a5

Please sign in to comment.