diff --git a/.circleci/config.yml b/.circleci/config.yml index 275ce82..b6cdca4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -127,4 +127,4 @@ workflows: branches: ignore: /.*/ tags: - only: /^v\d+\.\d+\.\d+(-(beta|alpha)(\.\d)?)?$/ + only: /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/ diff --git a/package.json b/package.json index 96a4324..27d86db 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0-development", "description": "An SDK for building CircleCI Configuration files with JavaScript.", "main": "dist/index.js", - "types": "dist/index.d.ts", + "types": "dist/src/index.d.ts", "scripts": { "test": "npx jest", "lint": "eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0",