Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Commit

Permalink
just disable pre-release for now
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Dec 10, 2021
1 parent f6a3165 commit 752d51a
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
name: automatic-release
# name: automatic-release

on:
push:
branches-ignore:
- master
# on:
# push:
# branches-ignore:
# - master

env:
BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}
# env:
# BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }}
# VSCE_PAT: ${{ secrets.VSCE_PAT }}

jobs:
prerelease:
name: Create prerelease
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
# jobs:
# prerelease:
# name: Create prerelease
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Install Dependencies
# run: npm ci

- name: Setup GIT
run: |
git config --global user.email "[email protected]"
git config --global user.name "GraphQL Bot"
git remote add github "https://$GITHUB_ACTOR:[email protected]/$GITHUB_REPOSITORY.git" || true
# - name: Setup GIT
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "GraphQL Bot"
# git remote add github "https://$GITHUB_ACTOR:[email protected]/$GITHUB_REPOSITORY.git" || true

- name: Bump version
id: bump
run: |
npm version patch -m "%s (prerelease)"
# - name: Bump version
# id: bump
# run: |
# npm version patch -m "%s (prerelease)"

- name: VSCE Pre-Release Publish
id: publish
run: |
./node_modules/.bin/vsce publish --pre-release
# - name: VSCE Pre-Release Publish
# id: publish
# run: |
# ./node_modules/.bin/vsce publish --pre-release

- name: Push to master
run: |
git push github HEAD:"${GITHUB_REF}"
# - name: Push to master
# run: |
# git push github HEAD:"${GITHUB_REF}"
39 changes: 39 additions & 0 deletions .github/workflows/pre-release.yml.disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# name: automatic-release

# on:
# push:
# branches-ignore:
# - master

# env:
# BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }}
# VSCE_PAT: ${{ secrets.VSCE_PAT }}

# jobs:
# prerelease:
# name: Create prerelease
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Install Dependencies
# run: npm ci

# - name: Setup GIT
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "GraphQL Bot"
# git remote add github "https://$GITHUB_ACTOR:[email protected]/$GITHUB_REPOSITORY.git" || true

# - name: Bump version
# id: bump
# run: |
# npm version patch -m "%s (prerelease)"

# - name: VSCE Pre-Release Publish
# id: publish
# run: |
# ./node_modules/.bin/vsce publish --pre-release

# - name: Push to master
# run: |
# git push github HEAD:"${GITHUB_REF}"

0 comments on commit 752d51a

Please sign in to comment.