mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2025-12-12 17:25:56 +00:00
fix releaseing
This commit is contained in:
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -92,13 +92,13 @@ jobs:
|
||||
# asset_name: styles.css
|
||||
# asset_content_type: text/css
|
||||
- name: Determine Asset Suffix
|
||||
id: vars
|
||||
run: |
|
||||
if [ "${{ github.ref_name }}" = "main" ]; then
|
||||
echo "asset_suffix=" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "asset_suffix=-${{ github.ref_name }}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
id: vars
|
||||
run: |
|
||||
if [ "${{ github.ref_name }}" = "main" ]; then
|
||||
echo "asset_suffix=" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "asset_suffix=-${{ github.ref_name }}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
- name: Create Release and Upload Assets
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user