Compare commits
3 Commits
main
...
release/v0
Author | SHA1 | Date |
---|---|---|
techknowlogick | fff1af1029 | |
6543 | f28f199e85 | |
6543 | c00418e74c |
37
.drone.yml
37
.drone.yml
|
@ -110,11 +110,16 @@ steps:
|
||||||
pull: always
|
pull: always
|
||||||
image: woodpeckerci/plugin-s3:latest
|
image: woodpeckerci/plugin-s3:latest
|
||||||
settings:
|
settings:
|
||||||
acl: public-read
|
acl:
|
||||||
bucket: gitea-artifacts
|
from_secret: aws_s3_acl
|
||||||
|
region:
|
||||||
|
from_secret: aws_s3_region
|
||||||
|
bucket:
|
||||||
|
from_secret: aws_s3_bucket
|
||||||
endpoint:
|
endpoint:
|
||||||
from_secret: aws_endpoint
|
from_secret: aws_s3_endpoint
|
||||||
path_style: true
|
path_style:
|
||||||
|
from_secret: aws_s3_path_style
|
||||||
source: "dist/release/*"
|
source: "dist/release/*"
|
||||||
strip_prefix: dist/release/
|
strip_prefix: dist/release/
|
||||||
target: "/tea/${DRONE_TAG##v}"
|
target: "/tea/${DRONE_TAG##v}"
|
||||||
|
@ -131,10 +136,16 @@ steps:
|
||||||
pull: always
|
pull: always
|
||||||
image: woodpeckerci/plugin-s3:latest
|
image: woodpeckerci/plugin-s3:latest
|
||||||
settings:
|
settings:
|
||||||
acl: public-read
|
acl:
|
||||||
bucket: gitea-artifacts
|
from_secret: aws_s3_acl
|
||||||
|
region:
|
||||||
|
from_secret: aws_s3_region
|
||||||
|
bucket:
|
||||||
|
from_secret: aws_s3_bucket
|
||||||
endpoint:
|
endpoint:
|
||||||
from_secret: aws_endpoint
|
from_secret: aws_s3_endpoint
|
||||||
|
path_style:
|
||||||
|
from_secret: aws_s3_path_style
|
||||||
source: "dist/release/*"
|
source: "dist/release/*"
|
||||||
strip_prefix: dist/release/
|
strip_prefix: dist/release/
|
||||||
target: "/tea/${DRONE_BRANCH##release/v}"
|
target: "/tea/${DRONE_BRANCH##release/v}"
|
||||||
|
@ -153,10 +164,16 @@ steps:
|
||||||
pull: always
|
pull: always
|
||||||
image: woodpeckerci/plugin-s3:latest
|
image: woodpeckerci/plugin-s3:latest
|
||||||
settings:
|
settings:
|
||||||
acl: public-read
|
acl:
|
||||||
bucket: gitea-artifacts
|
from_secret: aws_s3_acl
|
||||||
|
region:
|
||||||
|
from_secret: aws_s3_region
|
||||||
|
bucket:
|
||||||
|
from_secret: aws_s3_bucket
|
||||||
endpoint:
|
endpoint:
|
||||||
from_secret: aws_endpoint
|
from_secret: aws_s3_endpoint
|
||||||
|
path_style:
|
||||||
|
from_secret: aws_s3_path_style
|
||||||
source: "dist/release/*"
|
source: "dist/release/*"
|
||||||
strip_prefix: dist/release/
|
strip_prefix: dist/release/
|
||||||
target: /tea/main
|
target: /tea/main
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [v0.9.1](https://gitea.com/gitea/tea/releases/tag/v0.9.1) - 2023-02-15
|
||||||
|
|
||||||
|
* BUGFIXES
|
||||||
|
* Print pull dont crash if it has TeamReviewRequests (#517)
|
||||||
|
|
||||||
## [v0.9.0](https://gitea.com/gitea/tea/releases/tag/v0.9.0) - 2022-09-13
|
## [v0.9.0](https://gitea.com/gitea/tea/releases/tag/v0.9.0) - 2022-09-13
|
||||||
|
|
||||||
* BREAKING
|
* BREAKING
|
||||||
|
|
|
@ -99,8 +99,11 @@ func formatReviews(reviews []*gitea.PullReview) string {
|
||||||
case gitea.ReviewStateApproved,
|
case gitea.ReviewStateApproved,
|
||||||
gitea.ReviewStateRequestChanges,
|
gitea.ReviewStateRequestChanges,
|
||||||
gitea.ReviewStateRequestReview:
|
gitea.ReviewStateRequestReview:
|
||||||
if r, ok := reviewByUser[review.Reviewer.ID]; !ok || review.Submitted.After(r.Submitted) {
|
// only user reviews are supported no team review requests
|
||||||
reviewByUser[review.Reviewer.ID] = review
|
if review.Reviewer != nil {
|
||||||
|
if r, ok := reviewByUser[review.Reviewer.ID]; !ok || review.Submitted.After(r.Submitted) {
|
||||||
|
reviewByUser[review.Reviewer.ID] = review
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue