remove static branch name from version
This commit is contained in:
11
.github/workflows/manual-build.yml
vendored
11
.github/workflows/manual-build.yml
vendored
@@ -18,12 +18,6 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.inputs.branch }}
|
ref: ${{ github.event.inputs.branch }}
|
||||||
- name: Extract Version
|
|
||||||
id: extract_version
|
|
||||||
run: |
|
|
||||||
version=$(python3 -c "import version; print(f'dev-{version.__version__}')")
|
|
||||||
echo "VERSION=$version" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
# Extract branch name and latest commit SHA
|
# Extract branch name and latest commit SHA
|
||||||
- name: Extract branch name and commit SHA
|
- name: Extract branch name and commit SHA
|
||||||
id: branch_info
|
id: branch_info
|
||||||
@@ -35,6 +29,11 @@ jobs:
|
|||||||
- name: Create DEV_BUILD file
|
- name: Create DEV_BUILD file
|
||||||
run: |
|
run: |
|
||||||
echo "${{ env.BRANCH_NAME }}-${{ env.COMMIT_SHA }}" > DEV_BUILD
|
echo "${{ env.BRANCH_NAME }}-${{ env.COMMIT_SHA }}" > DEV_BUILD
|
||||||
|
- name: Extract Version
|
||||||
|
id: extract_version
|
||||||
|
run: |
|
||||||
|
version=$(python3 -c "import version; print(f'${{ env.BRANCH_NAME}}-{version.__version__}')")
|
||||||
|
echo "VERSION=$version" >> $GITHUB_ENV
|
||||||
|
|
||||||
# Set up Docker
|
# Set up Docker
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
|||||||
Reference in New Issue
Block a user