Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: trigger another release to get assets published with fix #1353

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/upload-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
extension: x64.pkg
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check package-lock version
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master
id: lockversion
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "${{ steps.lockversion.outputs.version }}"
- name: Get version from package.json
Expand All @@ -65,8 +65,10 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build project
shell: bash
run: npm run prepublishOnly
- name: Assets generation
shell: bash
run: npm run ${{ matrix.npm_script }}
- name: Update release
uses: softprops/action-gh-release@v1
Expand Down
5 changes: 4 additions & 1 deletion scripts/releasePackagesRename.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ async function checkAndRenameFile(generatedPath, newPath) {
}

async function createDirectory(directoryPath) {
await mkdir(directoryPath);
const exists = await fileExists(directoryPath);
if (!exists) {
await mkdir(directoryPath);
}
}

async function renameDeb({version, name, sha}) {
Expand Down
Loading