소스 검색

chore: fix Makefile and __version__.py

tags/v0.10.0
Jérôme Deuchnord 3 년 전
부모
커밋
877ce24622
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. +3
    -3
      Makefile
  2. +2
    -2
      _kosmorro/__version__.py

+ 3
- 3
Makefile 파일 보기

@@ -34,8 +34,8 @@ release: env
@echo -e "\e[1mCreating release with version number \e[36m$$RELEASE_NUMBER\e[0m"
@echo

sed "s/^VERSION =.*/VERSION = '$$RELEASE_NUMBER'/g" _kosmorro/version.py > version.py
mv version.py _kosmorro/version.py
sed "s/^__version__ =.*/__version__ = '$$RELEASE_NUMBER'/g" _kosmorro/__version__.py > version.py
mv version.py _kosmorro/__version__.py

pipenv run python setup.py extract_messages --output-file=_kosmorro/locales/messages.pot > /dev/null

@@ -49,7 +49,7 @@ release: env
@echo -e "Please review the changes, then invoke \e[33mmake finish-release\e[39m."

finish-release: env
git add CHANGELOG.md _kosmorro/version.py _kosmorro/locales/messages.pot
git add CHANGELOG.md _kosmorro/__version__.py _kosmorro/locales/messages.pot
git commit -m "build: bump version $$RELEASE_NUMBER"
git tag "v$$RELEASE_NUMBER"
git checkout features


+ 2
- 2
_kosmorro/__version__.py 파일 보기

@@ -16,9 +16,9 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

__title__ = "kosmorrolib"
__title__ = "kosmorro"
__description__ = "A program that computes your ephemerides"
__url__ = "http://kosmorro.space"
__url__ = "https://kosmorro.space"
__version__ = "0.9.0"
__author__ = "Jérôme Deuchnord"
__author_email__ = "jerome@deuchnord.fr"


불러오는 중...
취소
저장