Skip to content

Commit

Permalink
Updates version to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-it committed Jul 10, 2024
1 parent 5dade25 commit 2f8dd1e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Release v8
name: Release v9

on:
push:
branches: [v8]
branches: [v9]

jobs:
build:
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
name: coverage-${{ matrix.os }}-${{ matrix.nodeRun }}
path: coverage.tar

publish_v8:
publish_v9:
if: github.repository_owner == 'pnp'
needs: test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -141,8 +141,8 @@ jobs:
run: npm ci
- name: Stamp beta to package version
run: node scripts/update-package-version.js $GITHUB_SHA
- name: Publish @eight
run: npm publish --tag eight --access public --provenance
- name: Publish @nine
run: npm publish --tag nine --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: Compress output
Expand All @@ -156,7 +156,7 @@ jobs:

deploy_docker:
if: github.repository_owner == 'pnp'
needs: publish_v8
needs: publish_v9
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -184,18 +184,18 @@ jobs:
run: |
echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
- name: Wait for npm publish
run: node scripts/wait-npm-publish.js eight ${{ steps.package_version.outputs.version }}
run: node scripts/wait-npm-publish.js nine ${{ steps.package_version.outputs.version }}
- name: Build and push ${{ steps.package_version.outputs.version }}
uses: docker/build-push-action@v5
with:
push: true
tags: m365pnp/cli-microsoft365:${{ steps.package_version.outputs.version }}
build-args: |
CLI_VERSION=${{ steps.package_version.outputs.version }}
- name: Build and push eight
- name: Build and push nine
uses: docker/build-push-action@v5
with:
push: true
tags: m365pnp/cli-microsoft365:eight
tags: m365pnp/cli-microsoft365:nine
build-args: |
CLI_VERSION=${{ steps.package_version.outputs.version }}
4 changes: 2 additions & 2 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnp/cli-microsoft365",
"version": "8.0.0",
"version": "9.0.0",
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
"license": "MIT",
"main": "./dist/api.js",
Expand Down

0 comments on commit 2f8dd1e

Please sign in to comment.