denoland / deno_docker

Latest dockerfiles and images for Deno - alpine, centos, debian, ubuntu
https://hub.docker.com/r/denoland/deno
MIT License
914 stars 101 forks source link

chore: add support of prerelease version #389

Closed kt3k closed 2 months ago

kt3k commented 2 months ago

This PR adds support of prerelease version upgrade with version_bump workflow.

Now workflow dispatch UI shows the text input for prerelease id like the below:

Screenshot 2024-08-21 at 13 24 19

If you like to append prerelease id in addition to normal version upgrade, you can specify the input like the below:

Note: The below example upgrades minor version and also append prerelease id (ex. 1.45.5 -> 1.46.0-rc.1)

Screenshot 2024-08-21 at 13 25 55

If you like to only change the prerelease id, you can specify the inputs like the below:

Screenshot 2024-08-21 at 13 26 39

If you like to only perform normal upgrade, you can keep the prerelease id blank.

I tested the above scenarios in this repo https://github.com/kt3k/bmp/actions/workflows/version_bump.yml

crowlKats commented 2 months ago

Please add https://github.com/denoland/deno_docker/pull/393/commits/82b7e9d96b54b56d7a1daebc0bcb7d4977e84817, else this will not work

kt3k commented 2 months ago

Please add https://github.com/denoland/deno_docker/commit/82b7e9d96b54b56d7a1daebc0bcb7d4977e84817, else this will not work

Thanks! Added

kt3k commented 2 months ago

I'll do a few experiments after landing this