ConduitIO / conduit

Conduit streams data between data stores. Kafka Connect replacement. No JVM required.
https://conduit.io
Apache License 2.0
363 stars 42 forks source link

Manually set current tag in release action #1637

Closed lovromazgon closed 3 weeks ago

lovromazgon commented 3 weeks ago

Description

As can be seen in this CI action run, the current tag chosen by goreleaser was v0.11.0-nightly.20240601 instead of v0.10.1, which was the actually pushed tag. This change manually sets the current tag using an ENV variable set to github.ref_name, which will contain the name of the pushed tag. The action is restricted to only run when a tag is pushed, so github.ref_name should always contain the name of the tag.