version like this?
This commit is contained in:
parent
ff1563c4e8
commit
b1413586d7
@ -21,11 +21,10 @@ jobs:
|
||||
git fetch origin main --tags
|
||||
LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
|
||||
# remove the 'v' prefix from the tag name
|
||||
echo "BUILD_NAME=${LATEST_TAG//v}" >> $GITHUB_ENV
|
||||
|
||||
echo "BUILD_NAME=${LATEST_TAG//v}" >> $GITHUB_OUTPUT
|
||||
- name: Output the version that is being used
|
||||
run: |
|
||||
echo "Building for version ${{ env.BUILD_NAME }}"
|
||||
echo "Building for version ${{ steps.version.outputs.BUILD_NAME }}"
|
||||
|
||||
|
||||
# build-android:
|
||||
@ -46,7 +45,7 @@ jobs:
|
||||
uses: ./.gitea/workflows/workflow_build-app-ios.yaml
|
||||
with:
|
||||
build_type: release # for current testing
|
||||
build_name: ${{ env.BUILD_NAME }}
|
||||
build_name: ${{ steps.version.outputs.BUILD_NAME }}
|
||||
secrets:
|
||||
IOS_ASC_KEY_ID: ${{ secrets.IOS_ASC_KEY_ID }}
|
||||
IOS_ASC_ISSUER_ID: ${{ secrets.IOS_ASC_ISSUER_ID }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user