tarantool / setup-tarantool

Setup Tarantool for use with Github Actions
MIT License
9 stars 2 forks source link

feature: support 2.10+ releases #24

Closed Totktonada closed 2 years ago

Totktonada commented 2 years ago

Background

The new release policy (see https://github.com/tarantool/tarantool/discussions/6182) is in effect since Tarantool 2.10 and changes several things, including:

  1. Repositories layout.
    • The new release series naming: series-2 instead of 2.10, 2.11 and so on.
    • The new pre-release repository.
    • No nightly builds (live repository).
  2. Versioning.
    • Three digit versions for release builds: 2.10.0 instead of 2.10.0.0.
    • alpha, beta, rc marks in pre-release tarantool versions.

Usage

This commit offers support of 2.10+ releases and leaves pre-releases unsupported (it is tracked in #23).

The usage is quite straightforward:

steps:
  - uses: actions/checkout@v2
  - uses: tarantool/setup-tarantool@v1
    with:
      tarantool-version: '2.10.0' # or '2.10', or just '2'

The latest 2.10.X version will be installed for tarantool-version: '2.10'. The latest 2.X.Y version will be installed for tarantool-version: '2'.

See notes on the implementatoin details in the commit message.

Fixes #19

Totktonada commented 2 years ago

Tested on the smtp module: https://github.com/tarantool/smtp/commit/e0f15045c7cb641b0780f45cc664bd39d19315c6.