@visualon/gitea-releaser 0.0.4 → 0.0.5

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.
@@ -17,22 +17,30 @@ jobs:
17
17
 
18
18
  steps:
19
19
  - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
20
+ with:
21
+ fetch-depth: 0 # Important for changelog
22
+ filter: blob:none # We don't need all blobs
23
+
20
24
  - run: corepack enable
21
25
  - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
22
26
  with:
23
27
  node-version-file: .node-version
24
28
  registry-url: https://registry.npmjs.org/
25
29
  - run: pnpm install
26
- - run: pnpm version ${GITHUB_REF_NAME#v}
30
+
31
+ - run: echo VERSION=${GITHUB_REF_NAME#v} >> $GITHUB_ENV
32
+ - run: pnpm version ${VERSION}
27
33
  - name: Generate changelog with git-cliff
28
34
  uses: tj-actions/git-cliff@v1.4.2
29
35
  with:
30
36
  args: --latest --strip all
31
37
  output: 'CHANGELOG.md'
38
+
32
39
  - run: pnpm publish --access public
33
40
  env:
34
41
  NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
35
42
  - uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # v1.13.0
36
43
  with:
37
44
  bodyFile: 'CHANGELOG.md'
45
+ name: ${{ env.VERSION }}
38
46
  prerelease: ${{ contains(github.ref_name, '-') }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visualon/gitea-releaser",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "license": "MIT",
5
5
  "author": "VisualOn GmbH",
6
6
  "type": "module",