Skip to content

Commit

Permalink
release(version): 1.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
ckt1031 committed Sep 29, 2024
1 parent eafad13 commit faced78
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ jobs:
env:
SETTINGS_OBFUSCATE_KEY: ${{ secrets.SETTINGS_OBFUSCATE_KEY }}

# Get the version number and put it in a variable
- name: Get version info
id: version
run: |
echo "name=$(git describe --abbrev=0 --tags)" >> $GITHUB_OUTPUT
- name: Prepare manifest file
run: |
if [[ "${{ contains(steps.version.outputs.name, '-beta') }}" == 'true' ]]; then
cp manifest-beta.json manifest.json
else
echo "Pass"
fi
shell: bash

- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
Expand All @@ -40,4 +55,4 @@ jobs:
manifest.json
styles.css
draft: false
prerelease: false
prerelease: ${{ endsWith(github.ref, '-beta') }}
10 changes: 10 additions & 0 deletions manifest-beta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "ckt1031",
"authorUrl": "https://github.com/ckt1031",
"description": "Writing companion for AI content generation.",
"id": "wordwise",
"isDesktopOnly": false,
"minAppVersion": "1.0.0",
"name": "WordWise",
"version": "1.0.0-beta"
}

0 comments on commit faced78

Please sign in to comment.