Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
chore: fix renaming file names in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Nov 1, 2021
1 parent 1d29f5c commit 96f0b36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -123,7 +123,8 @@ jobs:
env:
GORELEASER_CURRENT_TAG: 0.0.0
- name: Rename artifacts
run: rename 's/^dist\/reearth-backend_0.0.0-SNAPSHOT-.+?_(.+)/dist\/reearth-backend_nightly_$1/s' dist/reearth-backend_*.*
if: "!needs.main.outputs.new_tag"
run: for f in dist/reearth-backend_*.*; do mv $f $(echo $f | sed -E 's/_0\.0\.0-SNAPSHOT-[^_]*/_nightly/'); done
- name: Create GitHub release for nightly
if: "!needs.main.outputs.new_tag"
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 96f0b36

Please sign in to comment.