Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
- 'homebrew'
- 'chocolatey'
- 'docker'
- 'winget'

release:
types: [released]
Expand Down Expand Up @@ -221,6 +222,30 @@ jobs:
"${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:${{ github.ref_name }}"
"${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:latest"

winget:
# Runs automatically on release, after the exe job has built and uploaded the installer.
runs-on: windows-latest
if: github.event_name == 'release'
needs: exe
steps:
Comment thread
andrii-bodnar marked this conversation as resolved.
- uses: vedantmgoyal9/winget-releaser@v2
with:
identifier: Crowdin.CrowdinCLI
installers-regex: '\.exe$'
Comment thread
andrii-bodnar marked this conversation as resolved.
token: ${{ secrets.GH_WINGET_TOKEN }}

winget-manual:
# Runs on manual dispatch only. No exe build - the action picks up the .exe
# from the latest existing GitHub release, so the release must already exist.
runs-on: windows-latest
if: github.event_name == 'workflow_dispatch' && (github.event.inputs.package == 'all' || github.event.inputs.package == 'winget')
steps:
- uses: vedantmgoyal9/winget-releaser@v2
with:
identifier: Crowdin.CrowdinCLI
installers-regex: '\.exe$'
token: ${{ secrets.GH_WINGET_TOKEN }}

exe:
runs-on: windows-latest
if: github.event_name == 'release'
Expand Down
23 changes: 23 additions & 0 deletions packages/winget/Crowdin.CrowdinCLI.installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Updated to winget manifest schema 1.10.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.10.0.schema.json

PackageIdentifier: Crowdin.CrowdinCLI
PackageVersion: 4.14.1
MinimumOSVersion: 10.0.0.0
InstallerType: inno
InstallModes:
- interactive
- silent
InstallerSwitches:
Silent: /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
SilentWithProgress: /SILENT /SUPPRESSMSGBOXES /NORESTART /SP-
Installers:
- Architecture: x64
InstallerUrl: https://github.com/crowdin/crowdin-cli/releases/download/4.14.1/crowdin.exe
InstallerSha256: e912b4db3693fd9681d88cde83bcd1f8d955ba332aaf6c509cafd0a1b7f15541
ProductCode: '{52B80417-16B8-4EFE-B118-6FA64B25CC0F}_is1'
Dependencies:
PackageDependencies:
- PackageIdentifier: EclipseAdoptium.Temurin.17.JRE
ManifestType: installer
ManifestVersion: 1.10.0
35 changes: 35 additions & 0 deletions packages/winget/Crowdin.CrowdinCLI.locale.en-US.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Updated to winget manifest schema 1.10.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.10.0.schema.json

PackageIdentifier: Crowdin.CrowdinCLI
PackageVersion: 4.14.1
PackageLocale: en-US
Publisher: Crowdin
PublisherUrl: https://crowdin.com
PublisherSupportUrl: https://github.com/crowdin/crowdin-cli/issues
PrivacyUrl: https://crowdin.com/page/privacy-policy
Author: Crowdin
PackageName: Crowdin CLI
PackageUrl: https://crowdin.github.io/crowdin-cli
License: MIT
LicenseUrl: https://github.com/crowdin/crowdin-cli/blob/main/LICENSE
Copyright: © Crowdin
ShortDescription: A command line tool that allows you to manage and synchronize localization resources with your Crowdin project.
Description: |-
Crowdin CLI is a command line tool that allows you to manage and synchronize your localization resources with your Crowdin project. Using CLI, you can:
- Automate the process of updating your source files in your Crowdin project
- Download translations from Crowdin and automatically save them in the correct locations
- Upload all your existing translations to Crowdin in minutes
- Manage your localization resources without leaving the terminal
- Integrate Crowdin CLI with GitHub, GitLab, Jenkins, CircleCI, and other software
Moniker: crowdin
Tags:
- cli
- crowdin
- i18n
- l10n
- localization
- translation
ReleaseNotesUrl: https://github.com/crowdin/crowdin-cli/releases/tag/4.14.1
ManifestType: defaultLocale
ManifestVersion: 1.10.0
8 changes: 8 additions & 0 deletions packages/winget/Crowdin.CrowdinCLI.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Updated to winget manifest schema 1.10.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.10.0.schema.json

PackageIdentifier: Crowdin.CrowdinCLI
PackageVersion: 4.14.1
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.10.0
20 changes: 20 additions & 0 deletions website/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,26 @@ docker pull crowdin/cli

## Windows

### WinGet

```bash
winget install Crowdin.CrowdinCLI
```

```bash
winget upgrade Crowdin.CrowdinCLI
```

```bash
winget uninstall Crowdin.CrowdinCLI
```

You can also search for the package:

```bash
winget search crowdin
```

### Chocolatey

```bash
Expand Down
Loading