Skip to content

Commit

Permalink
Merge pull request #116 from caraml-dev/enable-scheduling-registry
Browse files Browse the repository at this point in the history
Enable scheduling for caraml store registry
  • Loading branch information
khorshuheng authored May 10, 2024
2 parents 5924a4b + 02a7ec9 commit ab5318f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/groovy/caraml.common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ plugins {
version = '0.0.0-SNAPSHOT'
gitVersioning.apply {
refs {
describeTagPattern = "v(?<version>.*)"
describeTagPattern = "^v(?<version>.*)"
branch('main') {
version = '${describe.tag.version}-build.${describe.distance}-${commit.short}'
}
branch('.+') {
version = '${ref}-snapshot'
}
tag('v(?<version>.*)') {
tag('^v(?<version>.*)') {
version = '${ref.version}'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
public class CaraMLRegistry {

public static void main(String[] args) {
Expand Down

0 comments on commit ab5318f

Please sign in to comment.