Skip to content

Commit

Permalink
fix: trigger another release to get assets published with fix (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Apr 9, 2024
1 parent d0298bd commit d6fff02
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
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

0 comments on commit d6fff02

Please sign in to comment.