diff --git a/.github/workflows/CreateRelease.yml b/.github/workflows/CreateRelease.yml index 4db6056..9e62a72 100644 --- a/.github/workflows/CreateRelease.yml +++ b/.github/workflows/CreateRelease.yml @@ -90,16 +90,16 @@ jobs: git config --local user.email "actions@github.com" shell: bash - - name: Create temporary branch - id: create_temp_branch - if: steps.check_version.outputs.skip_release == 'false' - run: | - git checkout --orphan release/v${{ env.VERSION }} - git reset - rm -f .gitignore - git add README.md package.json LICENSE dist/ src/ tsconfig.json - git commit -m "Prepare files for release ${{ env.VERSION }}" - shell: bash + # - name: Create temporary branch + # id: create_temp_branch + # if: steps.check_version.outputs.skip_release == 'false' + # run: | + # git checkout --orphan release/v${{ env.VERSION }} + # git reset + # rm -f .gitignore + # git add README.md package.json LICENSE dist/ src/ tsconfig.json + # git commit -m "Prepare files for release ${{ env.VERSION }}" + # shell: bash - name: Create and push tag id: create_tag diff --git a/package.json b/package.json index 8e4c9c5..55ee01d 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "ts-injex", - "version": "0.0.10", + "version": "0.0.11", "description": "Simple boilerplate code free dependency injection system for TypeScript.", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { + "prepare": "npm run build", "build": "npm run build:tsc", "build:tsc": "tsc", "lint": "eslint --ext .ts .",