Skip to content

Commit

Permalink
This fixes release and tagging wotkflows (#52)
Browse files Browse the repository at this point in the history
Closes: #44 #46
  • Loading branch information
saidsef authored Sep 29, 2023
1 parent f12352d commit fa35d2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ jobs:
owner, repo,
tag_name: tag,
title: tag,
release_name: tag,
name: tag,
body: "${{ env.TAG }}",
draft: false,
make_latest: "true",
target_commitish: sha
});
Expand Down Expand Up @@ -83,7 +85,7 @@ jobs:
} catch (e) {
console.log(e.status);
} finally {
for (let file of await fs.readdir('./deployment')) {
for (let file of await fs.readdir('./deployment/*.yml')) {
await github.rest.repos.uploadReleaseAsset({
owner, repo,
release_id: ${{ steps.release.outputs.result }},
Expand Down

0 comments on commit fa35d2d

Please sign in to comment.