Remove semantic release job for now

This commit is contained in:
0xThresh.eth 2024-11-24 12:54:21 -07:00
parent 145a5f5933
commit 83c5a02a28

View File

@ -8,42 +8,42 @@ on:
- "charts/**" - "charts/**"
jobs: jobs:
semantic-release: # semantic-release:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
# Checkout repo # # Checkout repo
- name: Checkout # - name: Checkout
uses: actions/checkout@v4 # uses: actions/checkout@v4
- name: Setup Node.js # - name: Setup Node.js
uses: actions/setup-node@v3 # uses: actions/setup-node@v3
with: # with:
node-version: 'lts/*' # node-version: 'lts/*'
- name: Install dependencies # - name: Install dependencies
run: npm install # run: npm install
- name: Release # - name: Release
env: # env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release # run: npx semantic-release
- name: Install yq # - name: Install yq
run: | # run: |
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O yq &&\ # wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O yq &&\
chmod +x yq # chmod +x yq
- name: Get version # - name: Get version
id: get_version # id: get_version
run: | # run: |
echo "VERSION=$(cat charts/open-webui/Chart.yaml | ./yq -r '.version')" >> $GITHUB_OUTPUT # echo "VERSION=$(cat charts/open-webui/Chart.yaml | ./yq -r '.version')" >> $GITHUB_OUTPUT
- name: Commit Chart.yaml # - name: Commit Chart.yaml
uses: stefanzweifel/git-auto-commit-action@v4 # uses: stefanzweifel/git-auto-commit-action@v4
with: # with:
commit_message: 'chore(release) bump version to ${{ steps.get_version.outputs.VERSION }}' # commit_message: 'chore(release) bump version to ${{ steps.get_version.outputs.VERSION }}'
file_pattern: 'charts/open-webui/Chart.yaml' # file_pattern: 'charts/open-webui/Chart.yaml'
release: release:
needs: semantic-release #needs: semantic-release
permissions: permissions:
contents: write contents: write
packages: write packages: write