Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Add deprecation message.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Mar 13, 2024
1 parent c5bba76 commit 34e2ed5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.4.0

- Deprecated the action. Use moon directly.

# 1.3.2

- Update dependencies.
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# moon - Automatic tool versioning
# moon - Automatic tool versioning (DEPRECATED)

> This action is deprecated and will be removed in the future. moon >= 1.14 supports partial
> versions, and overriding versions with environment variables. Learn more:
> https://moonrepo.dev/docs/guides/open-source
Since [moon](https://github.com/moonrepo/moon) requires fully-qualified semantic versions for tools
in its toolchain, this action will automatically determine valid versions based on a partial
Expand Down
6 changes: 6 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ function setEnvVar(name: string, value: string) {
}

async function run() {
core.warning('This action is deprecated and will be removed in the future.');
core.warning(
'moon >= 1.14 supports partial versions, and overriding versions with environment variables.',
);
core.warning('Learn more: https://moonrepo.dev/docs/guides/open-source');

try {
const nodeVersion = core.getInput('node');

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@moonrepo/tool-version-action",
"version": "1.3.2",
"version": "1.4.0",
"description": "A GitHub action for setting version environment variables for supported moon tools.",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 34e2ed5

Please sign in to comment.