mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 22:26:07 +00:00
chore: testing, hardcoded version
This commit is contained in:
@@ -34,20 +34,20 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Extract version from tag
|
# - name: Extract version from tag
|
||||||
id: extract_version
|
# id: extract_version
|
||||||
run: |
|
# run: |
|
||||||
# Get the tag name
|
# # Get the tag name
|
||||||
TAG_NAME=$(git describe --tags)
|
# TAG_NAME=$(git describe --tags)
|
||||||
# Extract the version part
|
# # Extract the version part
|
||||||
VERSION=${TAG_NAME#infisical-standalone/v}
|
# VERSION=${TAG_NAME#infisical-standalone/v}
|
||||||
echo "Extracted version is $VERSION"
|
# echo "Extracted version is $VERSION"
|
||||||
# Set the version as an output
|
# # Set the version as an output
|
||||||
echo "::set-output name=version::$VERSION"
|
# echo "::set-output name=version::$VERSION"
|
||||||
|
|
||||||
- name: Version extration test
|
# - name: Version extration test
|
||||||
run: |
|
# run: |
|
||||||
echo "The extracted version is ${{ steps.extract_version.outputs.version }}"
|
# echo "The extracted version is ${{ steps.extract_version.outputs.version }}"
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
@@ -82,9 +82,9 @@ jobs:
|
|||||||
- name: Publish to Cloudsmith (Linux)
|
- name: Publish to Cloudsmith (Linux)
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
if: matrix.os == 'linux'
|
if: matrix.os == 'linux'
|
||||||
run: cloudsmith push raw infisical/infisical-standalone ./binary/infisical-${{ matrix.os }}-${{ matrix.arch }} --republish --no-wait-for-sync --version ${{ steps.extract_version.outputs.version }} --api-key ${{ secrets.CLOUDSMITH_API_KEY }}
|
run: cloudsmith push raw infisical/infisical-standalone ./binary/infisical-${{ matrix.os }}-${{ matrix.arch }} --republish --no-wait-for-sync --version 3.0.0 --api-key ${{ secrets.CLOUDSMITH_API_KEY }}
|
||||||
|
|
||||||
- name: Publish to Cloudsmith (Windows)
|
- name: Publish to Cloudsmith (Windows)
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
if: matrix.os == 'win'
|
if: matrix.os == 'win'
|
||||||
run: cloudsmith push raw infisical/infisical-standalone ./binary/infisical-${{ matrix.os }}-${{ matrix.arch }}.exe --republish --no-wait-for-sync --version ${{ steps.extract_version.outputs.version }} --api-key ${{ secrets.CLOUDSMITH_API_KEY }}
|
run: cloudsmith push raw infisical/infisical-standalone ./binary/infisical-${{ matrix.os }}-${{ matrix.arch }}.exe --republish --no-wait-for-sync --version 3.0.0 --api-key ${{ secrets.CLOUDSMITH_API_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user