diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d704fb1..9af2c84 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,22 +68,6 @@ jobs: - run: npm run build - - run: npm pack - - - name: get tarball name - id: get_tarball_name - uses: actions/github-script@v7 - with: - script: | - const packageJson = require('./package.json'); - const packageVersion = packageJson.version; - const convertedName = packageJson.name.replace(/@/, "").replace(/\//,"-"); - return `${convertedName}-${packageVersion}.tgz`; - - - name: set up env - run: | - mv ${{steps.get_tarball_name.outputs.result}} eslint-plugin-lwc-mobile.tgz - - name: Release run: npx semantic-release env: diff --git a/.releaserc.yml b/.releaserc.yml index 109515b..e04f06c 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -17,9 +17,7 @@ plugins: - npmPublish: false # skip push tarball to npmjs.com tarballDir: 'tarball' - - '@semantic-release/github' - - assets: - - path: 'tarball/*' - label: 'Tarball distribution' + - assets: 'tarball/*.tgz' debug: true dryRun: false