Skip to content

build(deps-dev): bump vite from 2.9.13 to 2.9.16 (#300) #116

build(deps-dev): bump vite from 2.9.13 to 2.9.16 (#300)

build(deps-dev): bump vite from 2.9.13 to 2.9.16 (#300) #116

Workflow file for this run

name: Releases
on:
push:
branches:
- 'main'
permissions:
contents: read
jobs:
versions:
name: Update Releases
runs-on: ubuntu-latest
permissions:
contents: write # for release-drafter/release-drafter to create a github release
pull-requests: write # for release-drafter/release-drafter to add label to PR
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Setup Git
run: |
git config user.name github-actions
git config user.email [email protected]
- name: Draft Release
id: release
# Drafts your next Release notes as Pull Requests are merged into "main"
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update package.json version
id: package-version
run: |
echo "Next Version: ${{ steps.release.outputs.tag_name }}"
npm version --git-tag-version=false --allow-same-version=true ${{ steps.release.outputs.tag_name }}
- name: Update IOS Info.plist versions
id: ios-version
uses: damienaicheh/[email protected]
with:
info-plist-path: "./ios/App/App/Info.plist"
bundle-short-version-string: "${{ steps.release.outputs.tag_name }}"
bundle-version: "${{ steps.release.outputs.tag_name }}"
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore(version): bump to ${{ steps.release.outputs.tag_name }}"
file_pattern: "package.json ios/App/App/Info.plist"