Skip to content

Commit

Permalink
build: Fix artifactName update
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Feb 6, 2021
1 parent f5cf605 commit b5ebdc5
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,10 @@ jobs:
- run: yarn lint

# Use the short has for the
- name: Get filename
id: filename
- name: Set dev-build artifact name
shell: bash
run: |
jq; sponge;
# [[ "${{ github.ref }}" == "refs/heads/master" ]] && \
# npx json json -I -f package.json -e "this.name='adar'"



# '::set-output name=name::${name}-dev-'$(git rev-parse --short HEAD)'-${os}.${ext}' || \
# echo '::set-output name=name::${name}-${version}-${os}.${ext}'
if: ${{ github.ref == 'refs/heads/master' }}
run: echo "$(jq -r '.build.artifactName="${name}-dev-'"$(git rev-parse --short HEAD)"'-${os}.${ext}"' package.json)" > pacakge.json

# Build
- run: yarn electron-builder install-app-deps
Expand Down

1 comment on commit b5ebdc5

@vercel
Copy link

@vercel vercel bot commented on b5ebdc5 Feb 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.