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

Commit b561646

Browse files
committed
chore: add deprecation messages
1 parent cc9febc commit b561646

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Python Semantic Release - Upload to GitHub Release Action
22

3+
> **DEPRECATION NOTICE:** This action has been deprecated as it has been renamed to
4+
> `python-semantic-release/publish-action`. Please update your workflows to use the new
5+
> action.
6+
37
This GitHub Action runs `semantic-release publish` using
48
[`python-semantic-release`](https://github.com/python-semantic-release/python-semantic-release).
59
Full documentation is available in the

action.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
set -e
44

5+
deprecation_message="This action has been DEPRECATED. Please use the 'python-semantic-release/publish-action' instead."
6+
printf >&2 '%s\n' "::warning::$deprecation_message"
7+
58
explicit_run_cmd() {
69
local cmd="$*"
710
printf '%s\n' "$> $cmd"

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "Python Semantic Release - Publish"
33

4-
description: "Publish Python Wheels and Other Artefacts to GitHub Releases"
4+
description: "DEPRECATED: Publish Python Wheels and Other Artefacts to GitHub Releases"
55

66
inputs:
77
root_options:

0 commit comments

Comments
 (0)