Commit a28997f
committed
fix: simplify release workflow to use proper semantic-release approach
- Remove overcomplicated custom logic with version checks and conditionals
- Use single 'semantic-release version' command as per official documentation
- Eliminate redundant tasks: release:publish, release:setup-git, release:check-version, release:full
- Simplify to single 'task release' that does everything semantic-release is designed to do
- Remove GitHub Actions output logic since semantic-release handles everything internally
- Fix release workflow to follow official python-semantic-release documentation
This resolves the fundamental misunderstanding of how semantic-release works:
- semantic-release version: does EVERYTHING (check, version, commit, tag, release)
- semantic-release publish: only for uploading artifacts, not releasing
Based on: https://python-semantic-release.readthedocs.io/en/latest/configuration/automatic-releases/github-actions.html#gh-actions-examples1 parent e161641 commit a28997f
2 files changed
Lines changed: 6 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 59 | + | |
69 | 60 | | |
70 | 61 | | |
71 | 62 | | |
72 | 63 | | |
73 | 64 | | |
74 | | - | |
75 | 65 | | |
76 | 66 | | |
77 | 67 | | |
| |||
102 | 92 | | |
103 | 93 | | |
104 | 94 | | |
105 | | - | |
| 95 | + | |
| 96 | + | |
106 | 97 | | |
107 | 98 | | |
108 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 85 | + | |
| 86 | + | |
92 | 87 | | |
93 | 88 | | |
94 | 89 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 90 | + | |
123 | 91 | | |
124 | 92 | | |
125 | 93 | | |
| |||
0 commit comments