Skip to content

The version of protoc-gen-swift is mismatched between the macOS and Linux versions of the latest release (1.23.0) #2052

@ezzatron

Description

@ezzatron

Describe the bug

When downloading archives from the 1.23.0 GitHub release, the included version of protoc-gen-swift differs between the macOS and Linux versions:

This is leading to us seeing different generated output under CI vs. when run locally.

To reproduce

See this reproduction repo / workflow run: https://github.com/ezzatron/grpc-swift-binary-version-repro/actions/runs/10804792826

Alternatively, set up a GitHub repo with this workflow, and run it to check the version difference:

on:
  push:

jobs:
  linux:
    runs-on: ubuntu-latest
    steps:
      - run: |
          curl -sSL https://github.com/grpc/grpc-swift/releases/download/1.23.0/protoc-grpc-swift-plugins-linux-x86_64-1.23.0.zip -o protoc-grpc-swift-plugins.zip
          unzip protoc-grpc-swift-plugins.zip
          ./protoc-gen-swift --version
          ./protoc-gen-grpc-swift --version

  macos:
    runs-on: macos-latest
    steps:
      - run: |
          curl -sSL https://github.com/grpc/grpc-swift/releases/download/1.23.0/protoc-grpc-swift-plugins-1.23.0.zip -o protoc-grpc-swift-plugins.zip
          unzip protoc-grpc-swift-plugins.zip
          bin/protoc-gen-swift --version
          bin/protoc-gen-grpc-swift --version

Expected behaviour

The version of protoc-gen-swift should be the same across all architectures for a given release.

Additional information

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugFeature doesn't work as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions