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

Commit

Permalink
chore: add deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
codejedi365 committed Sep 27, 2024
1 parent cc9febc commit b561646
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Python Semantic Release - Upload to GitHub Release Action

> **DEPRECATION NOTICE:** This action has been deprecated as it has been renamed to
> `python-semantic-release/publish-action`. Please update your workflows to use the new
> action.
This GitHub Action runs `semantic-release publish` using
[`python-semantic-release`](https://github.com/python-semantic-release/python-semantic-release).
Full documentation is available in the
Expand Down
3 changes: 3 additions & 0 deletions action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

set -e

deprecation_message="This action has been DEPRECATED. Please use the 'python-semantic-release/publish-action' instead."
printf >&2 '%s\n' "::warning::$deprecation_message"

explicit_run_cmd() {
local cmd="$*"
printf '%s\n' "$> $cmd"
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: "Python Semantic Release - Publish"

description: "Publish Python Wheels and Other Artefacts to GitHub Releases"
description: "DEPRECATED: Publish Python Wheels and Other Artefacts to GitHub Releases"

inputs:
root_options:
Expand Down

0 comments on commit b561646

Please sign in to comment.