Skip to content

Commit

Permalink
chore: fix creating tags for php and java (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
theSoenke authored Dec 15, 2023
1 parent 2fee827 commit 26a85d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ jobs:
git config --global user.name "Phrase"
git add .
git commit --message "Deploying from phrase/openapi@${GITHUB_SHA::8}"
PACKAGE_VERSION=$(awk '/- Package version:/{print $NF}' README.md)
git tag -a $PACKAGE_VERSION -m $PACKAGE_VERSION || true
git push --tags origin master
else
Expand Down Expand Up @@ -221,6 +222,7 @@ jobs:
git config --global user.name "Phrase"
git add .
git commit --message "Deploying from phrase/openapi@${GITHUB_SHA::8}"
PACKAGE_VERSION=$(awk '/- Package version:/{print $NF}' README.md)
git tag -a $PACKAGE_VERSION -m $PACKAGE_VERSION || true
git push --tags origin master
else
Expand Down
5 changes: 1 addition & 4 deletions openapi-generator/templates/java/README.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
{{appName}}

- API version: {{appVersion}}
{{^hideGenerationTimestamp}}

- Build date: {{generatedDate}}
{{/hideGenerationTimestamp}}
- Package version: {{artifactVersion}}

Phrase Strings is a translation management platform for software projects. You can collaborate on language file translation with your team or order translations through our platform. The API allows you to import locale files, download locale files, tag keys or interact in other ways with the localization data stored in Phrase Strings for your account.

Expand Down

0 comments on commit 26a85d4

Please sign in to comment.