Skip to content

Prepare for release #1

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

Merged
merged 3 commits into from
Oct 19, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use SHA_SHORT for env variables
  • Loading branch information
RobinMalfait committed Oct 19, 2022
commit c71c9cf5e9b83e7a1e3943ab536dc9db8a347f0d
6 changes: 3 additions & 3 deletions .github/workflows/release-insiders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
- name: Resolve version
id: vars
run: |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- name: "Version based on commit: 0.0.0-insiders.${{ env.sha_short }}"
run: npm version 0.0.0-insiders.${{ env.sha_short }} --force --no-git-tag-version
- name: "Version based on commit: 0.0.0-insiders.${{ env.SHA_SHORT }}"
run: npm version 0.0.0-insiders.${{ env.SHA_SHORT }} --force --no-git-tag-version

- name: Publish
run: npm publish --tag insiders
Expand Down