Skip to content

Commit

Permalink
DEV: Try automating version increment
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhieb committed Aug 1, 2024
1 parent 38144d4 commit e38b6bf
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,20 @@ jobs:
- name: Run E2E tests
run: npm test

- name: Commit changes
run: |
date > generated.txt
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "generated.txt"
git push
- name: Increment version
run: |
npm version minor
git push
- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
Expand All @@ -67,4 +81,6 @@ jobs:
exclude_assets: '**.js,bad-links.csv,credentials.json,issues.csv,models,transliterations,tags,utilities'
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: data
publish_dir: data
publish_dir: data

# TODO: Create a Zenodo release.

0 comments on commit e38b6bf

Please sign in to comment.