mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
- style & some version fixes
This commit is contained in:
parent
09fdae0d95
commit
4943ed4628
13
.github/workflows/publish.yml
vendored
13
.github/workflows/publish.yml
vendored
@ -263,22 +263,25 @@ jobs:
|
|||||||
run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
|
run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
|
||||||
- name: ENV - BUILD_COMMIT
|
- name: ENV - BUILD_COMMIT
|
||||||
run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
|
run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
|
||||||
# Push tag to GitHub if package.json version's tag is not tagged
|
##########################################################################
|
||||||
- name: package-version
|
# Push version tag to GitHub #############################################
|
||||||
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
|
##########################################################################
|
||||||
- name: package-version-to-git-tag
|
- name: package-version-to-git-tag
|
||||||
uses: pkgdeps/git-tag-action@v2
|
uses: pkgdeps/git-tag-action@v2
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
github_repo: ${{ github.repository }}
|
github_repo: ${{ github.repository }}
|
||||||
version: ${{ env.PACKAGE_VERSION }}
|
version: ${VERSION}
|
||||||
git_commit_sha: ${{ github.sha }}
|
git_commit_sha: ${{ github.sha }}
|
||||||
git_tag_prefix: "v"
|
git_tag_prefix: "v"
|
||||||
|
##########################################################################
|
||||||
|
# Push build tag to GitHub ###############################################
|
||||||
|
##########################################################################
|
||||||
- name: package-version-to-git-tag + build number
|
- name: package-version-to-git-tag + build number
|
||||||
uses: pkgdeps/git-tag-action@v2
|
uses: pkgdeps/git-tag-action@v2
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
github_repo: ${{ github.repository }}
|
github_repo: ${{ github.repository }}
|
||||||
version: ${{ env.BUILD_VERSION }}
|
version: ${BUILD_VERSION}
|
||||||
git_commit_sha: ${{ github.sha }}
|
git_commit_sha: ${{ github.sha }}
|
||||||
git_tag_prefix: "b"
|
git_tag_prefix: "b"
|
||||||
Loading…
x
Reference in New Issue
Block a user