Skip to content

Commit

Permalink
Merge pull request #161 from crowdin/Version-v1.6.0
Browse files Browse the repository at this point in the history
Version v1.6.0
  • Loading branch information
andrii-bodnar authored Jan 26, 2023
2 parents 75743d3 + cebbb64 commit 64e208e
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 11 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/update-main-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Update Main Version

run-name: Move ${{ github.event.inputs.main_version }} to ${{ github.event.inputs.target }}

on:
workflow_dispatch:
inputs:
target:
description: The tag or reference to use
required: true
main_version:
type: choice
description: The main version to update
options:
- v1

jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Git config
run: |
git config user.name github-actions
git config user.email [email protected]
- name: Tag new target
run: git tag -f ${{ github.event.inputs.main_version }} ${{ github.event.inputs.target }}

- name: Push new tag
run: git push origin ${{ github.event.inputs.main_version }} --force
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM crowdin/cli:3.9.3
FROM crowdin/cli:3.10.0

RUN apk --no-cache add curl git git-lfs jq gnupg;

Expand Down
18 changes: 9 additions & 9 deletions EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/checkout@v3

- name: Synchronize with Crowdin
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: true
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
uses: actions/checkout@v3

- name: Synchronize with Crowdin
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
uses: actions/checkout@v3

- name: Crowdin sync
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
uses: actions/checkout@v3

- name: Crowdin push
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
Expand All @@ -162,7 +162,7 @@ jobs:
uses: actions/checkout@v3

- name: Crowdin push
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
uses: actions/checkout@v3

- name: Crowdin pull
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: false
upload_translations: false
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
uses: actions/checkout@v3

- name: Synchronize with Crowdin
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: true
Expand All @@ -251,7 +251,7 @@ jobs:
...
- name: Crowdin
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
config: '.github/crowdin.yml'
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
uses: actions/checkout@v3
- name: Matrix
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: false
upload_translations: false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: actions/checkout@v3

- name: crowdin action
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_translations: true
download_translations: true
Expand Down

0 comments on commit 64e208e

Please sign in to comment.