@kirixvelu/second 3.1.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,44 +1,24 @@
1
- name: release
1
+ name: Create release
2
2
 
3
3
  on:
4
4
  push:
5
- branches:
6
- - main
7
- pull_request:
8
- branches:
9
- - main
5
+ tags:
6
+ - v*
10
7
 
11
8
  permissions:
12
9
  contents: write
10
+
13
11
  jobs:
14
12
  release:
15
- runs-on: ubuntu-latest
13
+ name: Release pushed tag
14
+ runs-on: ubuntu-24.04
16
15
  steps:
17
- - name: Checkout
18
- uses: actions/checkout@v5
19
-
20
- - name: Get bump version
21
- id: bump_label
22
- uses: SamirMarin/get-labels-action@v0
23
- with:
24
- github_token: ${{ secrets.GITHUB_TOKEN }}
25
- label_key: bump
26
- label_value_order: "patch,minor,major,ignore"
27
- default_label_value: patch
28
-
29
- - name: create tag to release
30
- id: tag_version
31
- uses: mathieudutour/github-tag-action@v6.1
32
- with:
33
- github_token: ${{ secrets.GITHUB_TOKEN }}
34
- default_bump: ${{ steps.bump_label.outputs.label_value }}
35
- dry_run: ${{ github.event_name == 'pull_request' }}
36
- tag_prefix: v
37
-
38
- - name: create release
39
- uses: ncipollo/release-action@v1
40
- if: ${{ github.event_name != 'pull_request' }}
41
- with:
42
- tag: ${{ steps.tag_version.outputs.new_tag }}
43
- name: Release ${{ steps.tag_version.outputs.new_tag }}
44
- body: ${{ steps.tag_version.outputs.changelog }}
16
+ - name: Create release
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ tag: ${{ github.ref_name }}
20
+ run: |
21
+ gh release create "$tag" \
22
+ --repo="$GITHUB_REPOSITORY" \
23
+ --title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
24
+ --generate-notes
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 4.0.0 (2026-02-08)
2
+
3
+ #### 3.1.2 (2026-02-08)
4
+
1
5
  #### 3.1.1 (2026-02-08)
2
6
 
3
7
  ##### New Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kirixvelu/second",
3
- "version": "3.1.1",
3
+ "version": "4.0.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {