From b70b1aa68f15918ebd4d5c2d9e2b82911630493a Mon Sep 17 00:00:00 2001 From: David Nicholson Date: Mon, 28 Sep 2020 17:40:25 -0700 Subject: [PATCH] add instructions --- .github/workflows/build.yml | 45 ++++++++++++++++++++++++++++--------- 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa169bd..7f38e6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,28 @@ +# +# INSTRUCTIONS FOR PUBLISHING TO MARKETPLACE: +# +# 1. Build a feature +# Develop new feature and merge code into the master branch +# of https://github.com/djnicholson/release-action. +# 3. Determine what the next version tag is going to be +# The current value of the "tag-name" setting (found lower +# down in this file will be used). +# 2. Edit README.md +# Change the two examples to use the next version tag. +# 3. Commit and push to GitHub +# Wait for the Action to succeed (monitor this at +# https://github.com/djnicholson/release-action/actions) +# 4. Publish to the market place +# Go to: +# https://github.com/djnicholson/release-action/releases +# Edit the "Upcoming release" (check the "Publish to GitHub +# Marketplace" box and give it a meaningful title and +# description). +# 5. Decide what the next version number will be +# Update the "tag-name" setting lower in this file (increment +# the value) then commit and merge into master. +# + name: Build on: @@ -19,19 +44,19 @@ jobs: run: | npm ci npm run build - - name: 🌎 Release (using local code) - uses: ./ - id: release-action - with: - token: ${{ secrets.GITHUB_TOKEN }} - tag-name: 'v0.0-rolling' - asset-name: 'index.js' - file: 'dist/index.js' + # - name: 🌎 Release (using local code) + # uses: ./ + # id: release-action + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # tag-name: 'v0.0-test' + # asset-name: 'index.js' + # file: 'dist/index.js' - name: 🌎 Release (using published action) uses: djnicholson/release-action@v2.7 with: token: ${{ secrets.GITHUB_TOKEN }} - tag-name: 'v2.8-candidate' - release-name: 'Rolling build' + tag-name: 'v2.8' + release-name: 'Upcoming release' asset-name: 'index.js' file: 'dist/index.js'