mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore(l10n): Remove custom changelogs from Crowdin config (#4418)
This commit is contained in:
parent
e6536ea5be
commit
41ea09b3ff
12 changed files with 34 additions and 1306 deletions
41
.github/release.yml
vendored
41
.github/release.yml
vendored
|
|
@ -1,21 +1,36 @@
|
|||
# .github/release.yml
|
||||
# .github/release.yml - GitHub Release Notes Configuration
|
||||
|
||||
changelog:
|
||||
exclude:
|
||||
labels:
|
||||
- dependencies
|
||||
- automation
|
||||
- release
|
||||
- repo
|
||||
- skip-changelog
|
||||
- chore
|
||||
- ci
|
||||
- build
|
||||
- testing
|
||||
- test
|
||||
- refactor
|
||||
- documentation
|
||||
- translation
|
||||
authors:
|
||||
- renovate[bot]
|
||||
- dependabot[bot]
|
||||
- github-actions[bot]
|
||||
|
||||
categories:
|
||||
- title: 🏗️ Features
|
||||
labels:
|
||||
- enhancement
|
||||
exclude:
|
||||
labels:
|
||||
- dependencies
|
||||
|
||||
- title: 🛠️Fixes
|
||||
- feature
|
||||
- title: 🛠️ Fixes
|
||||
labels:
|
||||
- bug
|
||||
- bugfix
|
||||
- fix
|
||||
- title: 📝 Other Changes
|
||||
labels:
|
||||
- '*'
|
||||
exclude:
|
||||
labels:
|
||||
- enhancement
|
||||
- dependencies
|
||||
- repo
|
||||
- automation
|
||||
- release
|
||||
|
|
|
|||
32
.github/workflows/create-or-promote-release.yml
vendored
32
.github/workflows/create-or-promote-release.yml
vendored
|
|
@ -106,16 +106,6 @@ jobs:
|
|||
fi
|
||||
shell: bash
|
||||
|
||||
- name: Determine previous tag
|
||||
if: ${{ !inputs.dry_run && inputs.channel == 'internal' }}
|
||||
id: previous_tag
|
||||
run: |
|
||||
# Find the tag reachable from the parent of the current HEAD
|
||||
# Exclude tags with hyphens to skip pre-releases
|
||||
PREV_TAG=$(git describe --tags --abbrev=0 --exclude "*-*" HEAD 2>/dev/null || echo "")
|
||||
echo "Found previous tag: $PREV_TAG"
|
||||
echo "PREV_TAG=$PREV_TAG" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Update External Assets (Firmware, Hardware, Protos)
|
||||
if: ${{ !inputs.dry_run && inputs.channel == 'internal' }}
|
||||
run: |
|
||||
|
|
@ -181,21 +171,9 @@ jobs:
|
|||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
|
||||
- name: Generate Changelog Content
|
||||
if: ${{ !inputs.dry_run && inputs.channel == 'internal' && steps.previous_tag.outputs.PREV_TAG != '' }}
|
||||
uses: mikepenz/release-changelog-builder-action@v6
|
||||
id: build_changelog
|
||||
with:
|
||||
configuration: .github/release.yml
|
||||
fromTag: ${{ steps.previous_tag.outputs.PREV_TAG }}
|
||||
toTag: HEAD
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Commit Release Assets (Changelog, Translations, Data, Config)
|
||||
- name: Commit Release Assets (Translations, Data, Config)
|
||||
if: ${{ !inputs.dry_run && inputs.channel == 'internal' }}
|
||||
env:
|
||||
CHANGELOG: ${{ steps.build_changelog.outputs.changelog }}
|
||||
FINAL_TAG: ${{ steps.calculate_tags.outputs.final_tag }}
|
||||
run: |
|
||||
# Calculate Version Code
|
||||
|
|
@ -212,13 +190,6 @@ jobs:
|
|||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
# Add changelog if generated
|
||||
if [ ! -z "$CHANGELOG" ]; then
|
||||
FILE_PATH="fastlane/metadata/android/en-US/changelogs/${VERSION_CODE}.txt"
|
||||
echo "$CHANGELOG" > "$FILE_PATH"
|
||||
git add "$FILE_PATH"
|
||||
fi
|
||||
|
||||
# Add updated data files
|
||||
git add config.properties
|
||||
git add app/src/main/assets/firmware_releases.json || true
|
||||
|
|
@ -234,7 +205,6 @@ jobs:
|
|||
git commit -m "chore(release): prepare $FINAL_TAG [skip ci]
|
||||
|
||||
- Bump base version to ${{ inputs.base_version }}
|
||||
- Add changelog for version code $VERSION_CODE
|
||||
- Sync translations and assets"
|
||||
git push origin HEAD:${{ github.ref_name }}
|
||||
else
|
||||
|
|
|
|||
1
.github/workflows/promote.yml
vendored
1
.github/workflows/promote.yml
vendored
|
|
@ -182,4 +182,3 @@ jobs:
|
|||
)
|
||||
|
||||
curl -H "Content-Type: application/json" -d "$PAYLOAD" "$DISCORD_WEBHOOK"
|
||||
|
||||
|
|
|
|||
24
.github/workflows/release.yml
vendored
24
.github/workflows/release.yml
vendored
|
|
@ -160,27 +160,6 @@ jobs:
|
|||
echo "MAPS_API_KEY=$GOOGLE_MAPS_API_KEY" >> ./secrets.properties
|
||||
echo "$GOOGLE_PLAY_JSON_KEY" > ./fastlane/play-store-credentials.json
|
||||
|
||||
- name: Determine previous tag
|
||||
id: previous_tag
|
||||
run: |
|
||||
CURRENT_TAG="${{ inputs.tag_name }}"
|
||||
# Find the tag reachable from the parent of the current tag
|
||||
# Exclude tags with hyphens to skip pre-releases (e.g. -internal, -beta)
|
||||
PREV_TAG=$(git describe --tags --abbrev=0 --exclude "*-*" "$CURRENT_TAG^" 2>/dev/null || echo "")
|
||||
echo "Found previous tag: $PREV_TAG"
|
||||
echo "PREV_TAG=$PREV_TAG" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Generate Changelog for Play Store
|
||||
if: steps.previous_tag.outputs.PREV_TAG != ''
|
||||
uses: mikepenz/release-changelog-builder-action@v6
|
||||
id: build_changelog
|
||||
with:
|
||||
configuration: .github/release.yml
|
||||
fromTag: ${{ steps.previous_tag.outputs.PREV_TAG }}
|
||||
toTag: ${{ inputs.tag_name }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Setup Fastlane
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
|
|
@ -191,8 +170,7 @@ jobs:
|
|||
env:
|
||||
VERSION_NAME: ${{ needs.prepare-build-info.outputs.APP_VERSION_NAME }}
|
||||
VERSION_CODE: ${{ needs.prepare-build-info.outputs.APP_VERSION_CODE }}
|
||||
CHANGELOG: ${{ steps.build_changelog.outputs.changelog }}
|
||||
run: bundle exec fastlane internal changelog:"$CHANGELOG"
|
||||
run: bundle exec fastlane internal
|
||||
|
||||
- name: Upload Google AAB artifact
|
||||
if: always()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue