Skip to content

Commit 8d5eb86

Browse files
authored
Merge branch 'master' into refactor-bundle-guard
2 parents 9ac0659 + 22eb796 commit 8d5eb86

File tree

5 files changed

+23
-8
lines changed

5 files changed

+23
-8
lines changed

.github/workflows/upload-release-assets.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,23 @@ jobs:
5050
container: ${{ matrix.container }}
5151

5252
steps:
53+
- name: Install base tools for alpine container
54+
if: matrix.container == 'node:20-alpine'
55+
run: |
56+
apk add --no-cache bash git python3 make g++ perl-utils xz
57+
5358
- name: Checkout repository
5459
uses: actions/checkout@v4
60+
61+
# Needed to avoid "fatal: detected dubious ownership in repository" error when using alpine container
62+
- name: Mark GitHub workspace as safe
63+
if: matrix.container == 'node:20-alpine'
64+
run: |
65+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
66+
5567
5668
- name: Check package-lock version
69+
if: matrix.container == ''
5770
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master
5871
id: lockversion
5972

@@ -63,11 +76,6 @@ jobs:
6376
with:
6477
node-version: "${{ steps.lockversion.outputs.version }}"
6578

66-
- name: Install dependencies in Alpine
67-
if: matrix.container == 'node:20-alpine'
68-
run: |
69-
apk add --no-cache git python3 make g++
70-
7179
- if: matrix.npm_script == 'pack:windows'
7280
name: install nodejs for windows
7381
uses: actions/setup-node@v4

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @asyncapi/cli
22

3+
## 5.0.2
4+
5+
### Patch Changes
6+
7+
- 4073175: - Alpine Releases have been fixed now.
8+
- Smaller docker image sizes and pruned dependencies.
9+
310
## 5.0.1
411

512
### Patch Changes

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
using: 'docker'
3939
# This is the image that will be used to run the action.
4040
# IMPORTANT: The version has to be changed manually in your PRs.
41-
image: 'docker://asyncapi/github-action-for-cli:5.0.1'
41+
image: 'docker://asyncapi/github-action-for-cli:5.0.2'
4242
args:
4343
- ${{ inputs.cli_version }}
4444
- ${{ inputs.command }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@asyncapi/cli",
33
"description": "All in one CLI for all AsyncAPI tools",
4-
"version": "5.0.1",
4+
"version": "5.0.2",
55
"author": "@asyncapi",
66
"bin": {
77
"asyncapi": "./bin/run_bin"

scripts/releasePackagesRename.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function renameTar({version, name, sha, isAlpine}) {
4646
const tarDirectory = path.resolve(dist, 'tar');
4747
await createDirectory(tarDirectory);
4848

49-
const fileName = isAlpine ? 'asyncapi-alpine.tar.gz' : 'asyncapi.tar.gz';
49+
const fileName = isAlpine ? 'asyncapi.alpine.tar.gz' : 'asyncapi.tar.gz';
5050
const newPath = path.resolve(tarDirectory, fileName);
5151
await checkAndRenameFile(generatedPath, newPath);
5252
}

0 commit comments

Comments
 (0)