Skip to content

deps(apps): bump @sentry/react from 10.42.0 to 10.43.0 #920

deps(apps): bump @sentry/react from 10.42.0 to 10.43.0

deps(apps): bump @sentry/react from 10.42.0 to 10.43.0 #920

Workflow file for this run

name: Check Next Version
env:
JSON_FILE: organized-next.json
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
check_version:
name: Check and save next version
if: ${{ github.repository == 'sws2apps/organized-app' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout for release preparation
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
ref: main
persist-credentials: false
- name: Use Node.js LTS version
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
with:
node-version: lts/Krypton
- name: Install package dependencies
run: npm ci
- name: Run semantic-release in dry-run and save log
run: |
npx semantic-release --dry-run 2>&1 | tee release.log || true
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Extract next version from log
id: extract_version
run: |
VERSION=$(grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+' release.log || echo "unknown")
echo "Extracted version: $VERSION"
cat <<EOF > $JSON_FILE
{
"schemaVersion": 1,
"label": "next version",
"message": "$VERSION",
"color": "blue"
}
EOF
- name: Update Gist with badge
env:
GIST_ID: 8d98acc3c934ff9dc191a0131135c4cb
GIST_TOKEN: ${{ secrets.GIST_TOKEN }}
run: |
JSON_CONTENT=$(jq -Rs . < $JSON_FILE)
echo $JSON_CONTENT
curl -L \
-X PATCH \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${GIST_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/gists/${GIST_ID} \
-d "{\"files\":{\"${JSON_FILE}\":{\"content\":${JSON_CONTENT}}}}"