From 7d714f0d18d9d784b7898ed3b4df6bb4150b023b Mon Sep 17 00:00:00 2001 From: david-yz-liu Date: Fri, 6 Dec 2024 15:59:26 -0500 Subject: [PATCH 1/2] Added environment to GitHub Actions configuration for publishing releases --- .github/workflows/publish-memory-viz.yml | 2 ++ CHANGELOG.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/publish-memory-viz.yml b/.github/workflows/publish-memory-viz.yml index 4ef19cf..1ed12fb 100644 --- a/.github/workflows/publish-memory-viz.yml +++ b/.github/workflows/publish-memory-viz.yml @@ -9,6 +9,8 @@ jobs: permissions: contents: read id-token: write + environment: + name: publish-npm steps: - uses: actions/checkout@v4 # Setup .npmrc file to publish to npm diff --git a/CHANGELOG.md b/CHANGELOG.md index 71bc796..526b936 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### 🔧 Internal changes +- Added environment to GitHub Actions configuration for publishing releases + ## [0.5.0-rc.0] - 2024-12-06 ### ✨ Enhancements From 621cbbf5204cb967e1c034076aac7d3e74f4094d Mon Sep 17 00:00:00 2001 From: david-yz-liu Date: Fri, 6 Dec 2024 16:00:37 -0500 Subject: [PATCH 2/2] Release 0.5.0-rc.1 --- CHANGELOG.md | 4 ++++ memory-viz/package.json | 2 +- package-lock.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 526b936..4550362 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### 🔧 Internal changes +## [0.5.0-rc.1] - 2024-12-06 + +### 🔧 Internal changes + - Added environment to GitHub Actions configuration for publishing releases ## [0.5.0-rc.0] - 2024-12-06 diff --git a/memory-viz/package.json b/memory-viz/package.json index d7dcaa0..290e870 100644 --- a/memory-viz/package.json +++ b/memory-viz/package.json @@ -1,6 +1,6 @@ { "name": "memory-viz", - "version": "0.5.0-rc.0", + "version": "0.5.0-rc.1", "description": "Library for creating beginner-friendly memory model diagrams.", "main": "dist/memory-viz.bundle.js", "homepage": "https://www.cs.toronto.edu/~david/memory-viz", diff --git a/package-lock.json b/package-lock.json index 7c23447..1618fdd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -78,7 +78,7 @@ } }, "memory-viz": { - "version": "0.5.0-rc.0", + "version": "0.5.0-rc.1", "license": "MIT", "dependencies": { "@xmldom/xmldom": "^0.8.10",