diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44feb82..95e60bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,10 @@ jobs: contents: read steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Ensure tag is on main + run: git merge-base --is-ancestor ${{ github.sha }} origin/main - uses: actions/setup-node@v4 with: node-version: 20 diff --git a/packages/core/package.json b/packages/core/package.json index 3e42432..08f8238 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@consentify/core", - "version": "1.1.0", + "version": "2.0.0", "description": "Minimal headless cookie consent SDK (TypeScript, SSR-ready, lazy-init).", "author": { "name": "Roman Denysov", diff --git a/packages/react/package.json b/packages/react/package.json index 473dc03..96071c1 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@consentify/react", - "version": "1.0.0", + "version": "2.0.0", "description": "React hook for @consentify/core", "author": { "name": "Roman Denysov",