Skip to content

Commit

Permalink
fix: generate tarball folder
Browse files Browse the repository at this point in the history
  • Loading branch information
haifeng-li-at-salesforce committed Jun 18, 2024
1 parent b7d418f commit 80f43c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Release

on:
workflow_dispatch:

push:
branches: [release] # push to release branch
pull_request:
Expand Down Expand Up @@ -81,8 +82,6 @@ jobs:
- name: set up env
run: |
echo "TARBALL_VERSION ${{steps.get_tarball_name.outputs.result}}"
export TARBALL_VERSION=${{steps.get_tarball_name.outputs.result}}
mv ${{steps.get_tarball_name.outputs.result}} eslint-plugin-lwc-mobile.tgz
- name: Release
Expand Down
9 changes: 5 additions & 4 deletions .releaserc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
branches:
- release-1
- release

plugins:
- - '@semantic-release/commit-analyzer'
Expand All @@ -13,11 +13,12 @@ plugins:
- '@semantic-release/release-notes-generator'
- - '@semantic-release/changelog'
- changelogTitle: "# Changelog\n\nAll notable changes to this project will be documented in this file."
#- '@semantic-release/npm'
# - npmPublish: false # skip push tarball to npmjs.com
- - '@semantic-release/npm'
- npmPublish: false # skip push tarball to npmjs.com
tarballDir: 'tarball'
- - '@semantic-release/github'
- assets:
- path: eslint-plugin-lwc-mobile.tgz
- path: 'tarball/*'
label: 'Tarball distribution'

debug: true
Expand Down
Binary file added salesforce-eslint-plugin-lwc-mobile-1.0.0.tgz
Binary file not shown.

0 comments on commit 80f43c6

Please sign in to comment.