mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-02-06 22:02:37 -05:00
fix(ci): pre-emptive tagging (#4415)
This commit is contained in:
12
.github/workflows/create-or-promote-release.yml
vendored
12
.github/workflows/create-or-promote-release.yml
vendored
@@ -240,10 +240,14 @@ jobs:
|
||||
else
|
||||
echo "No changes to commit."
|
||||
fi
|
||||
|
||||
# Pre-emptive Tagging: Tag the commit (new or existing) and push immediately
|
||||
# This ensures downstream workflows can simply checkout the tag.
|
||||
echo "Tagging and pushing $FINAL_TAG..."
|
||||
shell: bash
|
||||
|
||||
- name: Create and Push Release Tag
|
||||
if: ${{ !inputs.dry_run && inputs.channel == 'internal' }}
|
||||
env:
|
||||
FINAL_TAG: ${{ steps.calculate_tags.outputs.final_tag }}
|
||||
run: |
|
||||
echo "Tagging and pushing release: $FINAL_TAG"
|
||||
git tag "$FINAL_TAG"
|
||||
git push origin "$FINAL_TAG"
|
||||
shell: bash
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -111,6 +111,10 @@ jobs:
|
||||
echo "versionCode=$VERSION_CODE" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
release-google:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [prepare-build-info, run-lint]
|
||||
environment: Release
|
||||
env:
|
||||
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
|
||||
GRADLE_CACHE_URL: ${{ secrets.GRADLE_CACHE_URL }}
|
||||
|
||||
Reference in New Issue
Block a user