diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ba636715..f0e950e34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: jobs: - test: + release: name: Release runs-on: ubuntu-latest env: @@ -27,7 +27,7 @@ jobs: env: CI: true - - name: Run the tests + - name: Run Test run: npm run test:unit:ci - name: Configure Git User diff --git a/package.json b/package.json index d734e8f97..7c8385c47 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "author": { "name": "Emanuel Suca" }, - "version": "4.0.4-SNAPSHOT.0", + "version": "4.0.2-SNAPSHOT.0", "private": true, "homepage": "/binnacle", "scripts": { @@ -13,8 +13,8 @@ "build:dev": "PUBLIC_URL=./ env-cmd -f .env.development npm run build", "build:int": "env-cmd -f .env.integration npm run build && npm run zip-int", "build:prod": "npm run build && npm run zip-prod", - "zip-int": "cd build; zip -r ../binnacle_front_$npm_package_version_int.zip * .htaccess", - "zip-prod": "cd build; zip -r ../binnacle_front_$npm_package_version_prod.zip * .htaccess", + "zip-int": "cd build; zip -r ../binnacle_front_${npm_package_version}_int.zip * .htaccess", + "zip-prod": "cd build; zip -r ../binnacle_front_$npm_package_version.zip * .htaccess", "test:unit": "TZ=Europe/Madrid env-cmd -f .env.development jest --watchAll=true", "test:unit:coverage": "npm run test:unit -- --watchAll=false --coverage", "test:unit:ci": "npm run test:unit -- --runInBand --watchAll=false --coverage", @@ -23,7 +23,8 @@ "lint": "eslint ./src --ext .jsx,.js,.ts,.tsx --fix", "prettier": "prettier --write \"src/**/*.{ts,tsx}\"", "cypress": "cypress open", - "clean": "rm -Rf build/ coverage/ node_modules/ package-lock.json" + "clean": "rm -Rf build/ coverage/ node_modules/ package-lock.json", + "echo:version": "echo $npm_package_version" }, "dependencies": { "@chakra-ui/react": "1.7.2",