Skip to content

Commit

Permalink
test 0.8.12
Browse files Browse the repository at this point in the history
  • Loading branch information
tolecar committed Aug 17, 2024
1 parent b8ad788 commit c018cd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/update-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
- name: Checkout main branch
uses: actions/checkout@v3
with:
ref: main # Explicitly check out the main branch

- name: Set up Node.js
uses: actions/setup-node@v3
Expand All @@ -19,18 +21,12 @@ jobs:

- name: Update JSON file
run: |
# Extract version from the release tag
version="${{ github.event.release.tag_name }}"
# Ensure the version format matches expectations (e.g., strip leading 'v')
version="${version#v}"
# Generate the download URL
download_url="https://github.com/${{ github.repository }}/releases/download/${{ github.event.release.tag_name }}/convoworks-gpt-${version}.zip"
# Get the current date for 'last_updated'
updated_date=$(date -u +"%Y-%m-%d")
# Update the update.json file
cat > update.json <<EOL
{
"convoworks-gpt/convoworks-gpt.php": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "0.8.11",
"version": "0.8.12",
"scripts": {
"build" : "node sync-version.js && node build.js",
"sync-version": "node sync-version.js"
Expand Down

0 comments on commit c018cd9

Please sign in to comment.