diff --git a/.github/workflows/CreateRelease.yml b/.github/workflows/CreateRelease.yml index bb4ac0a..9e353db 100644 --- a/.github/workflows/CreateRelease.yml +++ b/.github/workflows/CreateRelease.yml @@ -84,7 +84,7 @@ jobs: git checkout --orphan temp_branch git reset rm -f .gitignore - git add README.md package.json LICENSE dist/ + git add README.md package.json LICENSE dist/ src/ tsconfig.json git commit -m "Prepare files for release ${{ env.VERSION }}" shell: bash @@ -97,18 +97,12 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash - # - name: Delete temporary branch - # id: delete_temp_branch - # run: | - # git checkout main - # git branch -D temp_branch - # shell: bash - - name: Release uses: softprops/action-gh-release@v2 with: tag_name: ${{ env.VERSION }} name: Release ${{ env.VERSION }} body_path: release_notes.md + prerelease: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 64bfb60..39c747a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-injex", - "version": "0.0.4", + "version": "0.0.5", "description": "", "type": "module", "main": "./dist/index.js", @@ -36,5 +36,12 @@ "dependencies": { "eslint-plugin-prettier": "^5.2.1", "jest-environment-jsdom": "^29.7.0" - } + }, + "files": [ + "dist/**/*", + "src/**/*", + "README.md", + "LICENSE", + "package.json" + ] } \ No newline at end of file