Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Mar 15, 2024
1 parent 138d77e commit 5616ff6
Show file tree
Hide file tree
Showing 41 changed files with 17 additions and 47 deletions.
1 change: 0 additions & 1 deletion packages/abc/avatar-list/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@avatar-list-prefix: ~'.avatar-list';

@{avatar-list-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/cell/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@cell-prefix: ~'.cell';

@{cell-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/down-file/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@down-file-prefix: ~'.down-file';

@{down-file-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/ellipsis/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@ellipsis-prefix: ~'.ellipsis';

ellipsis {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/error-collect/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@error-collect-prefix: ~'.error-collect';

@{error-collect-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/exception/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@exception-prefix: ~'.exception';

@{exception-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/footer-toolbar/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@footer-toolbar-prefix: ~'.footer-toolbar';

@{footer-toolbar-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/full-content/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@full-content-prefix: ~'.full-content';

@{full-content-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/global-footer/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@global-footer-prefix: ~'.global-footer';

@{global-footer-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/loading/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@loading-prefix: ~'.loading';

@{loading-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/notice-icon/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@notice-icon-prefix: ~'.notice-icon';

@{notice-icon-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/onboarding/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@onboarding-prefix: ~'.onboarding';

@{onboarding-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/page-header/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@page-header-prefix: ~'.page-header';

@{page-header-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/pdf/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@pdf-prefix: ~'.pdf';

@{pdf-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/quick-menu/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@quick-menu-prefix: ~'.quick-menu';

@{quick-menu-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/result/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@result-prefix: ~'.result';

@{result-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/reuse-tab/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@reuse-tab-prefix: ~'.reuse-tab';

@{reuse-tab-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/se/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@se-prefix: ~'.se';

@{se-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/abc/st/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@st-prefix: ~'.st';

@{st-prefix} {
Expand Down
6 changes: 2 additions & 4 deletions packages/abc/sv/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@sv-prefix: ~'.sv';

@{sv-prefix} {
Expand All @@ -11,7 +10,7 @@
&__container {
display: block;

// offset the padding-bottom of last row
/** offset the padding-bottom of last row */
.@{ant-prefix}-row {
overflow: hidden;
margin-bottom: -@sv-bottom;
Expand Down Expand Up @@ -125,7 +124,7 @@
}

&__small {
// offset the padding-bottom of last row
/** offset the padding-bottom of last row */
.@{ant-prefix}-row {
margin-bottom: -8px;
}
Expand Down Expand Up @@ -157,7 +156,6 @@
}

&-text {
// font-weight: 700;font-weight
font-size: @sv-value-default-value-font-size;
}

Expand Down
1 change: 0 additions & 1 deletion packages/abc/tag-select/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@tag-select-prefix: ~'.tag-select';
@tag-select-height: @tag-line-height + 2px; // 2px is top & bottom border width

Expand Down
1 change: 0 additions & 1 deletion packages/chart/card/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@g2-card-prefix: ~'.g2-card';

@{g2-card-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/chart/mini-progress/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@g2-mini-progress-prefix: ~'.g2-mini-progress';

@{g2-mini-progress-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/chart/number-info/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@number-info-prefix: ~'.number-info';

@{number-info-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/chart/pie/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@g2-pie-prefix: ~'.g2-pie';

@{g2-pie-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/chart/radar/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@g2-radar-prefix: ~'.g2-radar';

@{g2-radar-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/chart/trend/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@trend-prefix: ~'.trend';

@{trend-prefix} {
Expand Down
1 change: 0 additions & 1 deletion packages/chart/water-wave/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../theme/index.less';
@g2-water-wave-prefix: ~'.g2-water-wave';

@{g2-water-wave-prefix} {
Expand Down
3 changes: 1 addition & 2 deletions packages/theme/index.less
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
// @import './theme-default.less';
@import './theme-@{root-entry-name}.less';
@import './theme-default.less';
1 change: 0 additions & 1 deletion packages/theme/layout-blank/style/index.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
@import './theme-@{root-entry-name}.less';
@import './_layout.less';
@import './fix/index.less';
1 change: 0 additions & 1 deletion packages/theme/layout-default/style/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import './theme-@{root-entry-name}.less';
// Layout
@import './_layout.less';
@import './_header.less';
Expand Down
2 changes: 2 additions & 0 deletions packages/theme/mixins.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import 'ng-zorro-antd/src/style/mixins/index.less';
@import './system/mixins/index.less';
1 change: 1 addition & 0 deletions packages/theme/system/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
@import 'ng-zorro-antd/components.less';

/** system */
@import './mixins/index.less';
@import './entry.less';
3 changes: 1 addition & 2 deletions packages/theme/system/theme-default.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import 'ng-zorro-antd/src/style/mixins/index.less';
@import './mixins/index.less';
@root-entry-name: default;

// grey
@grey-1: #ffffff;
Expand Down
2 changes: 2 additions & 0 deletions packages/theme/system/theme-variable.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@import './theme-default.less';

@root-entry-name: variable;

@{html-selector} {
--grey-1: #fff;
--grey-2: #fafafa;
Expand Down
3 changes: 1 addition & 2 deletions packages/theme/theme-compact.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@root-entry-name: compact;

@import './mixins.less';
@import 'ng-zorro-antd/src/style/themes/compact.less';
@import './system/theme-compact.less';
@import './layout-default/style/theme-compact.less';
Expand Down
3 changes: 1 addition & 2 deletions packages/theme/theme-dark.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@root-entry-name: dark;

@import './mixins.less';
@import 'ng-zorro-antd/src/style/themes/dark.less';
@import './system/theme-dark.less';
@import './layout-default/style/theme-dark.less';
Expand Down
3 changes: 1 addition & 2 deletions packages/theme/theme-default.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@root-entry-name: default;

@import './mixins.less';
@import 'ng-zorro-antd/src/style/themes/default.less';
@import './system/theme-default.less';
@import './layout-default/style/theme-default.less';
Expand Down
3 changes: 1 addition & 2 deletions packages/theme/theme-variable.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@root-entry-name: variable;

@import './mixins.less';
@import 'ng-zorro-antd/src/style/themes/variable.less';
@import './system/theme-variable.less';
@import './layout-default/style/theme-variable.less';
Expand Down
1 change: 1 addition & 0 deletions scripts/build/copy-less.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function copyLess(name) {
function copyTheme() {
[
'system',
'mixins.less',
'index.less',
'default.less',
'dark.less',
Expand Down
5 changes: 3 additions & 2 deletions scripts/ci/build-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,17 @@ echo "https://${ACCESS_TOKEN}:@github.com" > .git/credentials

if [[ $(git ls-remote origin "refs/tags/${buildTagName}") ]]; then
echo "removed tag because tag is already published"
# git push origin :refs/tags/${buildTagName}
git push --delete origin ${buildTagName}
git push origin :refs/tags/${buildTagName}
sleep 5
fi

echo "Git configuration has been updated to match the last commit author. Publishing now.."

git add -A
git commit --allow-empty -m "${buildCommitMessage}"
git tag "${buildTagName}"
git push origin ${branchName} --tags
git push origin ${branchName} --tags -f

echo "Published package artifacts for ${packageName}#${buildVersionName} into ${branchName}"

Expand Down

0 comments on commit 5616ff6

Please sign in to comment.